Am 01.09.2008, 13:28 Uhr, schrieb Nitro <[EMAIL PROTECTED]>: > Am 01.09.2008, 13:22 Uhr, schrieb Nitro <[EMAIL PROTECTED]>: > >> It is also possible to make upper left (0,0). Right now I haven't made >> this customizable, it will be with one of the next svn checkins. Here's >> the temporary solution: >> >> 1) Open floatcanvas2/floatcanvas/nodes/camera.py >> >> 2) in the Camera._getViewBox method change "fromRectangleCenterSize" to >> "fromRectangleCornerSize". > > I forgot two steps: > > 2a) In Camera._getViewTransform comment out the > > transform.position += self.viewport.size / 2 > > line. > > 2b) In Camera.zoomToExtents change > > self.pos = boundingBox.center > > to > > self.pos = boundingBox.min > >> 3) Save.
Forget all of this. I'll make an svn commit today or tomorrow which makes this work. -Matthias _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
