ocanvas
ocanvas copied to clipboard
Make it possible to get dimensions of all display-objects
Sometimes it is needed to get the actual width
and/or height
of an arc or pylogon but it seems, that the dimension are always 0
.
Objects like arc and polygon don't really have a width/height, but their bounding boxes have. I have actually started work on getting bounding boxes for all objects, so then you could get the bounding box for an object, and then get width/height of that.
Yeh, ok, good to know! A bit of documentation about using bounding boxes and how to handle them would be nice...
Yeah well since it's not implemented yet, I can't really have documentation for it :)
Hrr hrr :) Ok I stay tuned!