On Wed, Sep 17, 2008 at 8:09 AM, Christopher Barker <[EMAIL PROTECTED]> wrote: > Pierre Schmidt wrote: >> I used the tip that you provided, but applied the transform matrix to >> the root node of the canvas. >> >> floatcanvas2.NavCanvas.__init__(self, parent) ### in the context of >> subclassing NavCanvas >> matrix = np.eye(3,3) >> matrix[1,1] =-1 >> y_up_transform = floatcanvas2.math.transform.LinearTransform2D(matrix = >> matrix) >> self.root.transform = y_up_transform >> >> I'm not sure it is the same as applying it to the canvas as you >> indicate at the end of your email, but I think every child of the root >> node will inherit this transform. > > I think so too. In fact, there may be no way to apply it to the canvas > -- I think the root node is the way to go -- I"m still learning it too! > > Is it working the way you want now?
Yes, it's working just like you described, thank you! Pierre _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
