typerig.proxy.fl.gui.canvas_overlay
canvas_overlay
Classes
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 |
|---|---|---|---|
ACCENT_ACTIVE |
attribute | ||
ACCENT_ERROR |
attribute | ||
ACCENT_FRAME |
attribute | ||
ACCENT_STEM |
attribute | ||
EV_HIDE |
attribute | ||
EV_KEY_PRESS |
attribute | ||
EV_RESIZE |
attribute | ||
EV_SHORTCUT_OVERRIDE |
attribute | ||
EV_WHEEL |
attribute | ||
OBJECT_NAME_PREFIX |
attribute | ||
WIDGETS_PER_OVERLAY |
attribute | ||
__version__ |
attribute | (shared captured text) | |
active_glyph_info |
function | (canvas) |
The active flGlyphInfo on the canvas, or None. |
affine_to_transform |
function | (a) |
Overlay_math affine tuple -> new QTransform. |
check |
function | (passed=True, note='') |
Record the result of the current checklist step and show the next one. |
core_layer_to_path |
function | (core_layer, fill_rule=None) |
QPainterPath in font units from a core Layer/Shape/Contour (or list of them). |
cosmetic_pen |
function | (color, width=1.0, style=None, alpha=None) |
Pen whose width stays in screen pixels regardless of zoom. |
cp |
function | (p) |
Copy a QPointF/QPoint into a new QPointF (event positions alias event memory). |
cr |
function | (r) |
Copy a QRectF/QRect into a new QRectF. |
ct |
function | (t) |
Copy a QTransform. |
draw_ellipse |
function | (p, cx, cy, rx, ry) |
Ellipse centred on (cx, cy) in view px. |
ev_pos |
function | (e) |
Copied local position of a mouse event as QPointF (Qt5 localPos/pos, Qt6 position). |
find_active_viewport |
function | (ws=None) |
Find the viewport widget of the active glyph canvas. |
fl_layer_signature |
function | (layer) |
Cheap change signature of an flLayer. |
fl_layer_to_path |
function | (fl_layer) |
QPainterPath in font units from an flLayer's own contours (shape transforms applied; components are not expanded). |
glyph_infos |
function | (canvas, max_lines=256) |
All flGlyphInfo on the canvas: every text block, every line. |
modifiers_set |
function | (mods) |
Qt.KeyboardModifiers -> frozenset of 'shift', 'ctrl', 'alt', 'meta'. |
no_brush |
function | () |
Empty brush (no fill); Qt.NoBrush cannot be passed to setBrush under PythonQt. |
no_pen |
function | () |
Invisible pen. |
ops_to_path |
function | (ops, fill_rule=None) |
Overlay_math path ops -> QPainterPath (same units as the ops). |
pt |
function | (p) |
QPointF/QPoint -> (x, y) floats. |
qv |
function | (obj, name) |
Property-or-method access. |
solid_brush |
function | (color, alpha=None) |
|
theme_colors |
function | () |
Theme-aware colors plus the fixed accents. |
transform_to_affine |
function | (t) |
QTransform -> overlay_math affine tuple (2D part only). |