RSXform
- class RSXform
A compressed form of a rotation+scale matrix.
[ fSCos -fSSin fTx ] [ fSSin fSCos fTy ] [ 0 0 1 ]
Methods
Overloaded function.
Attributes
Methods
- static RSXform.Make(scos: float, ssin: float, tx: float, ty: float) skia.RSXform
- static RSXform.MakeFromRadians(scale: float, radians: float, tx: float, ty: float, ax: float, ay: float) skia.RSXform
- RSXform.__init__(self: skia.RSXform, scos: float, ssin: float, tx: float, ty: float) None
- RSXform.rectStaysRect(self: skia.RSXform) bool
- RSXform.set(self: skia.RSXform, scos: float, ssin: float, tx: float, ty: float) None
- RSXform.setIdentity(self: skia.RSXform) None
- RSXform.toQuad(*args, **kwargs)
Overloaded function.
toQuad(self: skia.RSXform, width: float, height: float, quqd: skia.Point) -> None
toQuad(self: skia.RSXform, size: skia.Size, quqd: skia.Point) -> None
- RSXform.toTriStrip(self: skia.RSXform, width: float, height: float, strip: skia.Point) None
Attributes
- RSXform.fSCos
- RSXform.fSSin
- RSXform.fTx
- RSXform.fTy