[cairo] Cairo and OpenVG Radial Gradient

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Thu Sep 13 01:31:32 PDT 2007


Le jeudi 13 septembre 2007 à 07:45 +0000, KULBHUSHAN PACHAURI a écrit :
> Hi,
> 
> In OpenVG Radial Gradient is defined by a center point (cx, cy), a
> radius r, and a focal point (fx, fy) [forced to lie within the
> circle.]. In Cairo Radial Gradient is defined by two circles (x0, y0,
> c0) and (x1, y1, c0).
> 
> Can any one tell me a about analyzing cairo radial gradient in terms
> of openvg radial gradient.

Have a look at the cairo SVG backend code, where it tries to map the
cairo gradient parameters to SVG ones.

	Emmanuel.

-- 
Emmanuel PACAUD
Groupe Virgo
LAPP - Laboratoire d'Annecy-le-Vieux de physique des particules
9, chemin de Bellevue - BP 110
74941 Annecy-le-Vieux CEDEX
France
Tél: (+33)4 50 09 17 89 - Fax: (+33)4 50 27 94 95



More information about the cairo mailing list