[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [cgmo-webcgm] WG: transform proposal 2
Hi,
Thanks Ulrich for the updated
proposal.
1) ok.
2) ok, although more specific information would be
needed for finishTransform().
3) I think we need the origin, or else the sample I
sent a while back doesn't work.
4) Here I disagree. Every transform needs to be
mapped to 3x3 matrices. So far the translate and the rotate are, but not
the scaling. If we want the API to be scale( sx, sy ) with respect to the center
point, then the proposal needs to map this to 3x3
matrices.
This is the typical 2D scaling
matrix:
[sx 0 0
0 sy 0
0 0 1]
If all the points of a given grobject are transformed
by that scaling matrix, the result is different than what is describe in the
latest proposal.
5) ok.
6) ok, this should be added to the proposal. BTW, is
WebCGM "always" Y up?
7) ok, this should be added to the proposal. It should
also be mapped to 3x3 matrices.
Yes, the group needs to have a discussion about where
these API should be: picture level or APS level?
Regards,
Benoit. From: Ulrich Laesche [mailto:ulrich@ematek.de] Sent: Wednesday, November 07, 2007 8:16 AM To: cgmo-webcgm@lists.oasis-open.org Subject: [cgmo-webcgm] WG: transform proposal 2 Dear
All, As
a reply to Benoit’s two mails (Thanks for that, Benoit) attached please find the
response from our develoment team as well as an updated transform
spec. Regards Ulrich 1. Yes, we replaced „move“ by “translate”. Also, we replaced the absolute coordinates for the new location by
distances. This means
we just move relatively to the old position. That's how it's done in SVG. 4. Scale - no, we don't need the origin point.
If the element has the w,h=4,6 and we scale 1/2, then the new size
would be w1,h1=2,3 and the same origin. Then you can translate to the new
position using translate API. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]