On Jul 12, 2007, at 8:59 AM, Simen Haugen wrote:

> Perhaps you can also add a read-only Rect property?
>
> I was also thinking about how nice it would be to have the rect
> intersect etc. functions on the window level as something like this:

        I was just thinking about this very thing. I've added support for  
Width, Height and Size to all the draw objects, but Position has me a  
little stumped. It's clear enough for rectangles and text, but what  
about a circle? That's drawn by specifying the center and radius, and  
Xpos/Ypos refer to the center, not the left/top. Same goes for polygons.

        Having a Rect that defines the rectangular area makes this a little  
less critical. What do you think?

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to