On 2/4/07, Beau Hartshorne <[EMAIL PROTECTED]> wrote:
> On 3-Feb-07, at 7:20 AM, Arnar Birgisson wrote:
>
> > Yes, I was thinking of something along those lines yesterday. I
> > called it "Box".
> >
> > I'm attaching a "concept" patch - that just adds the Box class and a
> > few utility functions. Am I on the right track here?
> >
> > We could then add convenience stuff for aligning and/or centering
> > boxes within other boxes, getting the viewport box etc.
>
> I like Bob's suggestion to make Box a container for Point and
> Coordinates objects. And Rect might be a better name, Box should
> probably be tied to the DOM.

Ok, I'm fine with Rect. I did put in "getDimensions" and
"getCoordinates" f - do you think that the Rect should have those two
as attributes directly instead of t, l, h and w?

Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to