tags:

views:

73

answers:

0

Just wondering what's lighter, I'm going to have a control that draws 280 * 4 my SegmentControl, which is a quarter of a circle, and I'm just wondering what's the way that takes least memory to draw said segment.

GeometryDrawing:

<Image>
    <Image.Source>
        <DrawingImage>
            <DrawingImage.Drawing>
                <GeometryDrawing Brush="LightBlue"
                                 Geometry="M24.612317,0.14044853 C24.612317,0.14044853 33.499971,-0.60608719 41,7.0179795 48.37642,14.516393 47.877537,23.404541 47.877537,23.404541 L24.60978,23.401991 z" />
            </DrawingImage.Drawing>
        </DrawingImage>
    </Image.Source>
</Image>

Or Path:

<Path Fill="LightBlue"
              Stretch="Fill"
              Stroke="#FF0DA17D"
              Data="M24.612317,0.14044853 C24.612317,0.14044853 33.499971,-0.60608719 41,7.0179795 48.37642,14.516393 47.877537,23.404541 47.877537,23.404541 L24.60978,23.401991 z" />

Or if you know of an even better way, it'll be much appreciated.

Thanks!