157 |
matchingParent, box2screen, box2plane): |
matchingParent, box2screen, box2plane): |
158 |
self.matchingParent = matchingParent |
self.matchingParent = matchingParent |
159 |
|
|
160 |
|
paper2box = vs.invertCS(box2plane, "minMap_INv") |
161 |
paper2screen = vs.concatCS(box2screen, 'mindMap_CONCAT', |
paper2screen = vs.concatCS(box2screen, 'mindMap_CONCAT', |
162 |
box2plane) |
paper2box) |
|
box = jarray.zeros(2, 'f') |
|
|
vs.coords.getSqSize(box2screen, box) |
|
|
paper2screen = vs.translateCS(paper2screen, 'mindMap_TRANS', |
|
|
box[0], box[1], 0) |
|
163 |
# XXX |
# XXX |
164 |
self.zoomPanCS = paper2screen |
self.zoomPanCS = paper2screen |
165 |
|
|