[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Microsoft Hypes Up XUL As The Greatest ExpirimentSince Ada


xul gradient

> 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



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.