2339
by jfsog
|
Jan 13 2009
1:46 AM
|
Applied
|
Added support for wide strokes on rectangles and ellipses. (XAML strokes for rectangles and ellipses are internal, whilst SVG strokes for the same are centred on the shape boundary. I have added a few lines of code to handle conversion twixt the twain. An easy test is to create e.g. an SVG document with a blue circle and a green stroke, set circle width to e.g. 100 and stroke width to e.g. 50. In SVG, this circle will be 150 pixels wide, but in XAML, only 100, but with the changes I made here, the XAML will now mirror the SVG.)
:
Applied
|
|
Download
|
2378
by jfsog
|
Jan 20 2009
2:33 AM
|
Applied
|
* Circle now supports conversion into a XAML shape (specifically, a XAML Ellipse). (Previously, SVG ellipse supported conversion into a XAML Ellipse, but SVG circle only supported conversion into a XAML Path.) * Fixed an erroneous comment at the top of SVGCircleElement.cs. * Modified XAML-creation such that SVG ellipses with transformation matrixes now convert flawlessly. (Previously, transformation matrixes were not working correctly for shapes - or at least, not for ellipses. With these changes I have made, the system now uses the XAML Path construct when there is a transformation matrix. I don't know why transformation matrixes are not aligning correctly when we use XAML shapes instead of the XAML Path, but I do know that by using XAML Path when there is a transformation matrix, all works flawlessly.)
:
Applied
|
|
Download
|