W3C home > Mailing lists > Public > www-archive@w3.org > March 2004

Re: [w3photo] vocabulary update

From: Jim Ley <jim@jibbering.com>
Date: Sun, 14 Mar 2004 12:38:07 -0000
Message-ID: <021c01c409c5$2f8f1510$87909bd9@Snufkin>
To: "Benjamin Nowack" <bnowack@appmosphere.com>, "Masahide Kanzaki" <post@kanzaki.com>
Cc: <semantic-photolist@unitboy.com>

"Masahide Kanzaki" <post@kanzaki.com>
> Well, since both Rectangle and BBox are the same type of shape,
application
> can reuse the same codes to process them if both use {x1,y1 x2,y2} value.
> But, it's not difficult to process {x1,y1,width,height} value, I'm fine
> with this if there is specific reason to choose this.

When asked in IRC about which to use for rect, I said x,y,width,height, as
that is the natural mechanism for use in SVG, and HTML, so no conversion
would be required, I didn't notice that BBox was different, but I would also
say that should be x,y,h,w since that again is directly usable on the web,
and it's what API's such as getBBox() of SVG gives.

It doesn't matter much, both are interchangeable.

Jim.

==================================
This is the TEMPORARY discussion list for the W3 Semantic-Photo History
Project. For questions, contact greg@fotonotes.net.

Subscribe Instructions
To:   semantic-photolist-request@unitboy.com
Body: subscribe

Unsubscribe Instructions
To:   semantic-photolist-request@unitboy.com
Body: unsubscribe

Help
To:   semantic-photolist-request@unitboy.com
Body: help
Received on Sunday, 14 March 2004 17:22:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:32:25 UTC