I have a silverlight app that allows the user to draw on it and save the drawing.
The strokecollection in the canvas is converted to xml attributes and stored in the database.
the only problem i have now is converting the xml back into a stroke collection.
my strokes are stored as such:
<Strokes>
<Stroke>
<Color A="255" R="0" G="0" B="0" />
<OutlineColor A="0" R="0" G="0" B="0" />
<Points>
<Point X="60" Y="57" PressureFactor="0.5" />
<Point X="332" Y="52" PressureFactor="0.5" />
</Points>
<Width>3</Width>
<Height>3</Height>
</Stroke>
</Strokes>