Difference between revisions of "User:Regina/MYDrafts4"
From Apache OpenOffice Wiki
(Created page with "=Issues Lifecycle= == Writing an issue (Everyone)== # No support requests. Ask on mailing list or forum to make sure, that you do not miss something in handling of AOO. # No dup…") |
((checkpoint save)) |
||
Line 1: | Line 1: | ||
− | = | + | = Problems With Angle Definitions in ODF1.2 = |
− | == | + | == Coordinate System == |
− | + | There are two common ways to orientate a Cartesian coordinate system | |
− | + | ||
− | + | {| class="wikitable" | |
− | + | |- | |
+ | | mathematical orientation | ||
+ | | Bild | ||
+ | |- | ||
+ | | screen orientation | ||
+ | | Bild | ||
+ | |} | ||
− | + | Only when the orientation is determined, terms like "clockwise" are unambigious. Such orientation rule is missing in ODF 1.2. | |
− | + | ||
− | + | Suggestion: | |
− | + | ||
− | + | ||
− | + | ||
− | + | If a rule refers to a two-dimensional coordinate system, a Cartesian coordinate system in screen orientation [see figure ##] is used. The directions "clockwise", "counter clockwise", and the edge descriptions "left", "top", "right" and "button" are accordingly defined as shown in figures [##] to [##]. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | {| class="wikitable" | |
+ | |- | ||
+ | | clockwise | ||
+ | | Bild | ||
+ | |- | ||
+ | | counter clockwise | ||
+ | | Bild | ||
+ | |- | ||
+ | | left, top, right, bottom | ||
+ | | Bild | ||
+ | |} | ||
− | : | + | == Angles in Attribute <tt>draw:transform</tt> == |
− | + | These suggestions are all about section 19.228. | |
− | + | {| class="wikitable" | |
+ | |- | ||
+ | ! Original | ||
+ | ! Problems and Suggestions | ||
+ | |- | ||
+ | | | ||
+ | | The whole original text is very near to SVG section 7, but a reference is missing. | ||
+ | |- | ||
+ | | <tt><nowiki>matrix(<a> <b> <c> <d> <e> <f>)</nowiki></tt>, specifies a transformation in the form of a transformation matrix of six values. <tt>"</tt>The values describe... | ||
+ | | No problems, but the quotation mark before 'The values' has to be removed. | ||
+ | |- | ||
+ | | <tt><nowiki>rotate(<rotate-angle>)</nowiki></tt>, specifies a rotation by <tt><nowiki><rotate-angle></nowiki></tt> degrees about the origin of the shapes coordinate system. | ||
+ | | The orientation of the rotation is missing. I suggest not to use "clockwise" but to define it by an equivalent matrix. | ||
− | + | Suggestion: | |
− | : | + | |
− | + | The value <tt><nowiki>rotate(a)</nowiki></tt> is equivalent to the value <tt><nowiki>matrix( cos(a) sin(a) −sin(a) cos(a) 0 0)</nowiki></tt>. | |
− | + | |} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 22:52, 8 August 2012
Problems With Angle Definitions in ODF1.2
Coordinate System
There are two common ways to orientate a Cartesian coordinate system
mathematical orientation | Bild |
screen orientation | Bild |
Only when the orientation is determined, terms like "clockwise" are unambigious. Such orientation rule is missing in ODF 1.2.
Suggestion:
If a rule refers to a two-dimensional coordinate system, a Cartesian coordinate system in screen orientation [see figure ##] is used. The directions "clockwise", "counter clockwise", and the edge descriptions "left", "top", "right" and "button" are accordingly defined as shown in figures [##] to [##].
clockwise | Bild |
counter clockwise | Bild |
left, top, right, bottom | Bild |
Angles in Attribute draw:transform
These suggestions are all about section 19.228.
Original | Problems and Suggestions |
---|---|
The whole original text is very near to SVG section 7, but a reference is missing. | |
matrix(<a> <b> <c> <d> <e> <f>), specifies a transformation in the form of a transformation matrix of six values. "The values describe... | No problems, but the quotation mark before 'The values' has to be removed. |
rotate(<rotate-angle>), specifies a rotation by <rotate-angle> degrees about the origin of the shapes coordinate system. | The orientation of the rotation is missing. I suggest not to use "clockwise" but to define it by an equivalent matrix.
Suggestion: The value rotate(a) is equivalent to the value matrix( cos(a) sin(a) −sin(a) cos(a) 0 0). |