fgMatrix

fontgate.fgMatrix = class fgMatrix(object)

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

Methods

__add__(...)
x.__add__(y) <==> x+y
__delattr__(...)
x.__delattr__('name') <==> del x.name
__delitem__(...)
x.__delitem__(y) <==> del x[y]
__delslice__(...)
x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.
__eq__(...)
x.__eq__(y) <==> x==y
__ge__(...)
x.__ge__(y) <==> x>=y
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.
__gt__(...)
x.__gt__(y) <==> x>y
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
__le__(...)
x.__le__(y) <==> x<=y
__len__(...)
x.__len__() <==> len(x)
__lt__(...)
x.__lt__(y) <==> x

__mul__(...)
x.__mul__(y) <==> x*y
__ne__(...)
x.__ne__(y) <==> x!=y
__repr__(...)
x.__repr__() <==> repr(x)
__rmul__(...)
x.__rmul__(y) <==> y*x
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setitem__(...)
x.__setitem__(i, y) <==> x[i]=y
__setslice__(...)
x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.
__str__(...)
x.__str__() <==> str(x)
asDict(...)
represent object as dictionary
asTuple(...)
represent object as tuple
assign(...)
assign(fgMatrix) or assign(m11, m12, m21, m22, dx, dy)
determinant(...)
float determinant()
invert(...)
bool invert()
inverted(...)
fgMatrix inverted()
invertible(...)
bool invertible()
noMove(...)
bool noMove()
noRotate(...)
bool noRotate()
noScale(...)
bool noScale()
scale(...)
scale(float s)
slant(...)
slant(float angle) or float slant()
standard(...)
bool standard()

Descriptors

dx


dy


m11


m12


m21


m22


Attributes

__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

asDict

fontgate.fgMatrix.asDict = asDict(...)
represent object as dictionary

assign

fontgate.fgMatrix.assign = assign(...)
assign(fgMatrix) or assign(m11, m12, m21, m22, dx, dy)

asTuple

fontgate.fgMatrix.asTuple = asTuple(...)
represent object as tuple

determinant

fontgate.fgMatrix.determinant = determinant(...)
float determinant()

invert

fontgate.fgMatrix.invert = invert(...)
bool invert()

inverted

fontgate.fgMatrix.inverted = inverted(...)
fgMatrix inverted()

invertible

fontgate.fgMatrix.invertible = invertible(...)
bool invertible()

noMove

fontgate.fgMatrix.noMove = noMove(...)
bool noMove()

noRotate

fontgate.fgMatrix.noRotate = noRotate(...)
bool noRotate()

noScale

fontgate.fgMatrix.noScale = noScale(...)
bool noScale()

scale

fontgate.fgMatrix.scale = scale(...)
scale(float s)

slant

fontgate.fgMatrix.slant = slant(...)
slant(float angle) or float slant()

standard

fontgate.fgMatrix.standard = standard(...)
bool standard()