|
57 | 57 | intervalx() - return the x Interval instance |
58 | 58 | intervaly() - return the y interval instance |
59 | 59 | get_bounds() - get the left, bottom, width, height bounding tuple |
60 | | - update(xys, ignore) - update the boox to bound all the xy tuples in |
| 60 | + update(xys, ignore) - update the bbox to bound all the xy tuples in |
61 | 61 | xys; if ignore is true ignore the current contents of bbox and |
62 | 62 | just bound the tuples. If ignore is false, bound self + tuples |
63 | 63 | width() - return the width of the bbox |
|
85 | 85 |
|
86 | 86 | trans = SeparableTransformation(bbox1, bbox2, funcx, funcy) |
87 | 87 |
|
88 | | -where funcx and funcy operatate on x and y. The typical linear |
| 88 | +where funcx and funcy operate on x and y. The typical linear |
89 | 89 | coordinate transformation maps one bounding box to another, with funcx |
90 | 90 | and funcy both identity. Eg, |
91 | 91 |
|
|
104 | 104 | yo] |b d| yi] ty] |
105 | 105 |
|
106 | 106 |
|
107 | | -From a user persepective, the most important Tranformation methods are |
| 107 | +From a user perspective, the most important Tranformation methods are |
108 | 108 |
|
109 | 109 | All transformations |
110 | 110 | ------------------- |
111 | 111 | freeze() - eval and freeze the lazy objects |
112 | | - thaw() - release the laszy objects |
| 112 | + thaw() - release the lazy objects |
113 | 113 |
|
114 | 114 | xy_tup(xy) - transform the tuple (x,y) |
115 | 115 | seq_x_y(x, y) - transform the python sequences x and y |
116 | 116 | numerix_x_y(x, y) - x and y are numerix 1D arrays |
117 | 117 | seq_xy_tups(seq) - seq is a sequence of xy tuples |
118 | | - inverse_xy_tup(xy) - apply the incerse transformation to tuple xy |
| 118 | + inverse_xy_tup(xy) - apply the inverse transformation to tuple xy |
119 | 119 |
|
120 | 120 | set_offset(xy, trans) - xy is an x,y tuple and trans is a |
121 | 121 | Transformation instance. This will apply a post transformational |
|
148 | 148 | one - return Value(1) |
149 | 149 | origin - return Point(zero(), zero()) |
150 | 150 | unit_bbox - return the 0,0 to 1,1 bounding box |
151 | | - identity_affine - An affine idenitity transformation |
152 | | - identity_transform - An indentity separable transformation |
| 151 | + identity_affine - An affine identity transformation |
| 152 | + identity_transform - An identity separable transformation |
153 | 153 | translation_transform - a pure translational affine |
154 | 154 | scale_transform - a pure scale affine |
155 | 155 | scale_sep_transform - a pure scale separable transformation |
|
0 commit comments