Frank Hileman's WebLog

Vector Graphics with VG.net, MyXaml, and Visual Studio Integration

September 2004 - Posts

The new PathGradientFill in VG.net

Here is another preview of the new PathGradientFill feature in the upcoming VG.net release. The interesting thing about this Picture: it consists of three Groups, each containing only two objects: a Path and a rounded Rectangle. Look at the fancy stroke on the Paths. This new Fill is powerful, but we also want to make it fast, so we are going to do some experimenting to optimize the display.

Posted by Frank Hileman | with no comments

On the microsoft.public.windows.developer.winfx.avalon newsgroup someone wrote a slightly humourous comparision between Xamlon and MyXaml titled "XAML Container Control".

Posted by Frank Hileman

VG.net Vector Graphics Raindrops

The VG.net forum now has an RSS feed -- use the XML icon at the top of the page.

The image above shows raindrops created using VG.net vector graphics. This is using the new PathGradientFill. I will describe how to create these after the next release. The techniques are also useful for gel buttons.

Preview of the PathGradientFill in VG.net

The above screenshot is a preview of the next VG.net vector graphics release showing the new PathGradientFill creating some 3D effects.

Please help improve the quality of path gradients in VG.net by voting for the GammaCorrection property to be added to the PathGradientBrush in the .NET Framework. This enhancement is easy to add; the function call already exists in GDI+, we just need a wrapper. With this enhancement, 3D effects using the bell curve gradient will be more realistic. Vote here:

http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=0dd53b26-259d-4f5f-b319-5df018dbd1e1

Thanks!

More Posts