fontgate.fgMatrix
fgMatrix
Transformation matrix representation
Constructors: fgMatrix() - default fgMatrix(fgMatrix) - copy fgMatrix(float m11, float m12, float m21, float m22, float dx, float dy)
Math operation: fgMatrix * fgMatrix
Native bases: object
Captured native MRO: fgMatrix, object
Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.
Supplemental documentation:
A transformation matrix with the attributes m11, m12, m21, m22, dx and dy. The captured declaration exposes asDict, asTuple, assign, determinant, invert, inverted, invertible, noMove, noRotate, noScale, scale, slant and standard. It is created as fgMatrix(), as a copy fgMatrix(fgMatrix) or as fgMatrix(m11, m12, m21, m22, dx, dy); two matrices combine with fgMatrix * fgMatrix.
Source: generated/fontgate.py: fgMatrix captured declaration
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 |
|---|---|---|---|
__init__ |
function | (self, /, *args: Any, **kwargs: Any) -> None |
Initialize self. (shared captured text) |
asDict |
function | (self, *args: Any, **kwargs: Any) -> Any |
Represent object as dictionary (shared captured text) |
asTuple |
function | (self, *args: Any, **kwargs: Any) -> Any |
Represent object as tuple (shared captured text) |
assign |
function | (self, m11: Any, m12: Any, m21: Any, m22: Any, dx: Any, dy: Any) -> Any |
|
determinant |
function | (self) -> float |
|
dx |
attribute | Any |
|
dy |
attribute | Any |
|
invert |
function | (self) -> bool |
|
inverted |
function | (self) -> fgMatrix |
|
invertible |
function | (self) -> bool |
|
m11 |
attribute | Any |
|
m12 |
attribute | Any |
|
m21 |
attribute | Any |
|
m22 |
attribute | Any |
|
noMove |
function | (self) -> bool |
|
noRotate |
function | (self) -> bool |
|
noScale |
function | (self) -> bool |
|
scale |
function | (self, s: float) -> Any |
|
slant |
function | (self) -> Any |
|
standard |
function | (self) -> bool |