fontlabapp.qt.painting.editor.PaintContext
PaintContext
dataclass
One painter call for one laid-out glyph item.
painter is valid only during the callback. Do not keep it.
scale is view pixels per glyph unit. layer is whatever the
optional layer_resolver returned for this glyph item, else None.
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 |
|---|---|---|---|
canvas_to_view |
attribute | Any |
|
clip |
attribute | Any |
|
device_pixel_ratio |
attribute | float |
|
document_id |
attribute | Any |
|
glyph_item_id |
attribute | Any |
|
glyph_to_canvas |
attribute | Any |
|
is_active_layer |
attribute | bool |
|
layer |
attribute | Any |
|
layer_id |
attribute | Any |
|
painter |
attribute | Any |
(shared captured text) |
phase |
attribute | str |
|
scale |
attribute | float |
(shared captured text) |