[Xr] XrSetPattern added

Vadim Plessky plessky at cnt.ru
Sat May 17 00:16:37 PDT 2003


On Monday 12 May 2003 20:59, Carl Worth wrote:
|  I just committed a long-overdue function to Xr:
|
|  	void XrSetPattern(XrState *xrs, XrSurface *pattern);
|
|  which allows you to draw using a pattern rather than a solid color.
|
|  This should be quite helpful for those who want to do things like
|  gradients.

Hello Carl,

Are gradients supported in current Xr CVS?

Vadim

|
|  I also updated the xrknockout program, (in the xrtest module in CVS),
|  to use this function to draw the checked background. That also
|  demonstrates the use of XrSurfaceSetRepeat to allow a repeated
|  pattern.
|
[...]
|
|  -Carl

-- 
Best Regards,

Vadim Plessky
SVG Icons * BlueSphere Icons 0.3.0 released
http://svgicons.sourceforge.net





More information about the cairo mailing list