2013/6/4 mathog <mathog@...1176...>:
- Gradient curves. GDI+ does this by specifying an array of
points (the curve) and a corresponding array of colors, and then some rules about how to interpolate colors.
I messed this part up badly. The PathGradientBrush does have the array of points I mentioned, but it also specifies a center point and color. It interpolates both along that path and between the center and the path. It is possible to draw a path with a gradient in it, but only by letting an underlying gradient "show through", like in the bottom example here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms533914%28v=vs.85%2...
The EMF+ pathgradient and lineargradients should be able to go back and forth to an SVG mesh gradient (with some work).
Thanks,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech