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?

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to