Better drawing and added more icons
This commit is contained in:
@@ -66,6 +66,11 @@ Keep the root of `src/bedit` minimal. New UI modules should go into the relevant
|
||||
- Connection appearance is configured per port type in
|
||||
`gui/graphics/connection_styles.py`, including color, width, pen style, and
|
||||
source/target arrowheads. Do not scatter those constants through painters.
|
||||
- Graph annotations are `box`, `line`, or `text` objects in `Graph.annotations`.
|
||||
They use integer layers below or above graph layer 0. Annotation lines reuse
|
||||
connection routing and absolute `properties.waypoints` semantics. Graph
|
||||
annotations and icon elements share `ShapeOptionsDialog` and `shape_pen` so
|
||||
their style fields and rendering must remain aligned.
|
||||
- Icon editing uses a fixed 128×128 coordinate space.
|
||||
- The visible/selectable component hitbox is calculated from vector elements,
|
||||
not from the complete 128×128 icon canvas.
|
||||
|
||||
Reference in New Issue
Block a user