typerig.proxy.fl.gui.drawing
drawing
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
BASE_PADDING |
attribute | ||
MIN_NODE_SIZE |
attribute | ||
NODE_SIZE_RATIO |
attribute | ||
SELECTION_LINE_WIDTH |
attribute | ||
TRDrawIcon |
function | (contours, selection=None, foreground='black', background='gray') |
Draw icon for gallery showing contours and optionally selected nodes. |
__version__ |
attribute | (shared captured text) | |
build_selection_contour |
function | (selection, bbox, padding) |
Create contour from selected nodes, adjusted for canvas coordinates. |
create_selection_pen |
function | (color) |
Create pen for drawing selection path. |
draw_contour_mode |
function | (painter, shape, color) |
Draw full closed contours in solid color. |
draw_node_markers |
function | (painter, selection, bbox, dimension, color, padding) |
Draw circular markers at each selected node. |
draw_selection_mode |
function | (painter, shape, selection, bbox, foreground, background, dimension, padding) |
Draw selection mode with: 1. |
prepare_shape |
function | (contours) |
Clone contours and create a new shape. |
transform_shape_to_canvas |
function | (shape, bbox, padding) |
Center shape on canvas by removing bbox offset and adding padding. |