Am 19.09.2008, 07:37 Uhr, schrieb Christopher Barker  
<[EMAIL PROTECTED]>:

> Nitro wrote:
>> The linear transform thing is exactly what's required, you can do it
>> simpler by doing self.root.scale = (1, -1)
>
> since you can scale with a transform, what does the scale mean? why have
> it in addition to the more general transform?

scale is a property of the transform. NodeWithTransform.scale simply  
forwards to NodeWithTransform.transform.scale. So when changing the scale  
you're indirectly changing the transform matrix.

>> Another way to turn things upside down is canvas.camera.zoom = (1,
>> -1) or canvas.camera.scale = (1, -1). I don't know if the negative  
>> camera
>> zoom makes the zoomToExtends function useless though.
>
> hmm -- it might make problems with alignment in the future, if we manage
> to add the ability to align text and stuff by top, bottom, right, left,  
> etc.

Yes, we need to pay attention to this.

-Matthias
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to