fontlab_glyport.drawing.context.GraphicsContext
GraphicsContext
dataclass
One painter plus Cocoa state; base maps drawing space to pixels.
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 |
|---|---|---|---|
active |
attribute | bool |
|
base |
attribute | Affine |
|
device |
function | (self) -> Affine |
Drawing space -> pixels: the CTM, then the base transform. |
flipped |
attribute | bool |
|
glyph_base |
attribute | Affine | None |
|
painter |
attribute | Any |
|
qt |
attribute | Any |
|
qtransform |
function | (self, t: Affine | None=None) -> Any |
|
restore |
function | (self) -> None |
|
save |
function | (self) -> None |
|
stack |
attribute | list[GraphicsState] |
|
state |
attribute | GraphicsState |