This thread is for the long time members who could never figure out from the official documentation how to use chunks. And after spending sometime with Patchou this week in Montreal and complaining to him that the schema validates fine but it still doesn't work he took a look.
As it turns out the information schema was inaccurate.
Download the interface tester and save the following code to an xml file and try and load it. Once I finish bugging Patchou to fix something else in the schema I will post it.
Until then
xml code:
<?xml version="1.0" encoding="UTF-16"?>
<Interfaces xmlns="urn:msgplus:interface"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd">
<GlobalColors>
<GlobalColor Id="ref">
<BaseColor>
<Saturation>2.5</Saturation>
<Brightness>0.8</Brightness>
<Transparency>220</Transparency>
</BaseColor>
</GlobalColor>
</GlobalColors>
<Window Id="Test" Version="1">
<Position Width="354" Height="250" />
<DialogTmpl />
<Elements>
<Element xsi:type="FigureElement" Id="Fig1">
<Position Top="0" Left="0" />
<Figure>
<Custom>
<PathChunk xsi:type="ArcChunk">
<Left>10</Left>
<Top>50</Top>
<Width>200</Width>
<Height>200</Height>
<StartAngle>90</StartAngle>
<SweepAngle>360</SweepAngle>
</PathChunk>
<PathChunk xsi:type="LineChunk">
<X1>500</X1>
<Y1>100</Y1>
<X2>40</X2>
<Y2>150</Y2>
</PathChunk>
<PathChunk xsi:type="BezierChunk">
<X1>100</X1>
<Y1>100</Y1>
<X2>220</X2>
<Y2>120</Y2>
<X3>270</X3>
<Y3>270</Y3>
<X4>120</X4>
<Y4>320</Y4>
</PathChunk>
</Custom>
</Figure>
<Border>
<Size>1</Size>
<Color>
<GlobalColor>ref</GlobalColor>
</Color>
</Border>
</Element>
</Elements>
</Window>
</Interfaces>