Hi, Thanks elias !!
You are absolutely correct.
[size=15pt]
If I'm able to know the distance between the farthest top point to the farthest bottom point,[/size]
I should be able to calculate out the correct size.
You point out what's the key, but you didn't show me the answer !!!
[size=15pt]
How can I obtain the coordinate of the farthest top point? and How can I obtain the coordinate of the farthest bottom point?[/size]
Can you give me a clue? I know that getLocalToVworld() might work, but it always gives out the value
1.0 for the farthest top point , and the value.
-1.0 for the farthest bottom point.
getLocalToVworld() doesn't actually consider what is the current canvas size, say 640*480.
getLocalToVworld() always givems 1.0 and -1.0 for the farthest top and bottom points.
What I need, is not 1.0 or -1.0, I need something representing the row number of this point !!!! For instance, 239 and -157.
Hope you can really help !!!
Best Regards
JIA
I'm not sure what you're using, but if you determine the distance between the farthest top point to the farthest bottom point, and then multiply that by your scaling value, you should have the correct size.