Hi Armin,
Armin Le Grand schrieb:
Regina Henschel schrieb:
Hi Armin,
<----stuff deleted---->
If I save the file and unpack it, the rectangle has
<draw:rect draw:style-name="gr1" draw:text-style-name="P1"
draw:layer="layout" svg:width="2cm" svg:height="2cm"
draw:transform="skewX (0.3490658503988) translate (-0.636cm -1cm)">
There is no matrix.
Oops, forgot: draw:transform is the matrix. Please refer to ODF format
definitions to see that this can be given directly as 3x2 values, but
also in the more readable form above. Since XML is about readability,
the most readable form is used.
I meant the value matrix(<a> <b> <c> <d> <e> <f>) from the ODF spec.
But there are problems for me. Is this a description for the full matrix
<a> <b> <c>
<d> <e> <f>
0 0 1
?
I have tried something like
<draw:circle draw:name="vonOOodirekt" draw:style-name="gr1"
draw:text-style-name="P1" draw:layer="layout" svg:width="3cm"
svg:height="3cm" draw:transform="translate (6.5cm 7.51cm)"
draw:kind="section" draw:start-angle="0" draw:end-angle="270">
<text:p/>
</draw:circle>
<draw:circle draw:name="meins" draw:style-name="gr1"
draw:text-style-name="P1" draw:layer="layout" svg:width="3cm"
svg:height="3cm" draw:transform="matrix(0 1 10 -1 0 10) translate (6.5cm
7.51cm)" draw:kind="section" draw:start-angle="0" draw:end-angle="270">
<text:p/>
</draw:circle>
I expect a rotating and a little shift, but get a large shearing. So for
me there is again the question, do I miss-understand something or is OOo
wrong here.
And another question: How should svg width/height work together with the
transformation? First scale with svg and then transform or the other way
round?
kind regards
Regina
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]