[Home] [By Thread] [By Date] [Recent Entries]



> I see no evidence they're reinventing CSS or SVG. What have they done 
> here that bothers you?

It does look like they're rolling their own version of SVG.

http://msdn.microsoft.com/longhorn/default.aspx?pull=/msdnmag/issues/04/01/DevelopingAppsforLonghorn/default.aspx

says:

> Graphic contents in Longhorn are rendered using Windows Vector
> Graphics, which provides a number of benefits over GDI and GDI+.
> Windows Vector Graphics is an XML-based graphical markup system that
> is easy to use and reuse. If you're a fan of Scalable Vector Graphics,
> you'll love this, too. Windows Vector Graphics provides predefined
> shapes including Ellipse, Line, Path, Polygon, Polyline, and
> Rectangle, which inherit from the Shape class. These elements inherit
> a number of common attributes from Shape, including Stroke and
> StrokeThickness, along with Fill, plus some attributes to specify
> coordinates and vertices. Shapes can be skewed, rotated, translated,
> and scaled by applying transformations. Just as you can specify solid
> color fills and backgrounds for shapes, you can specify gradients. The
> following example sets a horizontal gradient as the Fill property of a
> Rectangle, with Red as the start color and Blue as the end color: 
> <Rectangle Fill="HorizontalGradient Red Blue"
>     RectangleLeft="150" RectangleTop="150"
>     Width="50" Height="50">
> </Rectangle>

James



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member