typerig.core.objects.transform
typerig.core.objects.transform (version 0.26.0)
# MODULE: TypeRig / Core / Transform (Object) # ----------------------------------------------------------- # (C) Vassil Kateliev, 2018-2020 (http://www.kateliev.com) # (C) Karandash Type Foundry (http://www.karandash.eu) #------------------------------------------------------------ # www.typerig.com
Modules
- math
Classes
class AdaptiveScale(builtin.object)
# -- Adaptive scaling ------------------------------------
Methods
- init(self, point_arrays, stem_arrays)
Descriptors
- dict
-
dictionary for instance variables (if defined)
- weakref
-
list of weak references to the object (if defined)
class Transform(builtin.object)
Affine transformations (Object)
Methods
- cmp(self, other)
- getitem(self, index)
- getslice(self, i, j)
- hash(self)
- init(self, xx=1.0, xy=0.0, yx=0.0, yy=1.0, dx=0.0, dy=0.0)
- len(self)
- repr(self)
- applyTransformation(self, x, y)
- inverse(self)
- reverseTransform(self, other)
- rotate(self, angle)
- scale(self, sx, sy)
- shift(self, dx, dy)
- skew(self, ax, ay)
- transform(self, other)
- translate(self, dx, dy)
Descriptors
- dict
-
dictionary for instance variables (if defined)
- weakref
-
list of weak references to the object (if defined)
Transform
typerig.core.objects.transform.Transform = class Transform(__builtin__.object)
Affine transformations (Object)
Methods
- __cmp__(self, other)
- __getitem__(self, index)
- __getslice__(self, i, j)
- __hash__(self)
- __init__(self, xx=1.0, xy=0.0, yx=0.0, yy=1.0, dx=0.0, dy=0.0)
- __len__(self)
- __repr__(self)
- applyTransformation(self, x, y)
- inverse(self)
- reverseTransform(self, other)
- rotate(self, angle)
- scale(self, sx, sy)
- shift(self, dx, dy)
- skew(self, ax, ay)
- transform(self, other)
- translate(self, dx, dy)
Descriptors
- __dict__
-
dictionary for instance variables (if defined)
- __weakref__
-
list of weak references to the object (if defined)