[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
RE: [XaraXtreme-dev] XAR file groups misunderstanding
- From: "Gerry Iles" <GerryI@xxxxxxxx>
- Date: Fri, 21 Jul 2006 13:36:27 +0100
- Subject: RE: [XaraXtreme-dev] XAR file groups misunderstanding
Unfortunately, the information in the Xar format spec isn't totally
complete in this area. While what you are generating is, strictly
speaking, a legal Xar format file, it breaks certain rules that Xara LX
relies on. These rules are documented on this page:
In the section titled "The rules of attributes".
Specifically, in this case, the attributes applied to each line should
be children of the line so you would have:
If all of the objects in the group use the same attribute (e.g. they all
have the same line width) then the line width can be moved up to be a
child of the group:
I'll get the relevant bits copied into the Xar format spec as soon as
possible though arguably XaraLX should also have a mechanism to fix the
attribute placement in what are actually legal files.
From: owner-dev@xxxxxxxxxxxxxxxx [mailto:owner-dev@xxxxxxxxxxxxxxxx] On
Behalf Of Sandro Sigala
Sent: 21 July 2006 13:06
Subject: [XaraXtreme-dev] XAR file groups misunderstanding
I have a small problem to understand the correct way to use the XAR
Please find attached a small test program that outputs a XAR document
with two lines (paths) with different colours. The two lines are
grouped into a single group.
Xara LX displays correctly the output document but when you ungroup the
two objects they lose their properties (the blue line becomes red).
What I am doing wrong? Sorry if I'm doing something stupid (witch I'm
but I don't get the point.