[cairo] Gradient Transformation Problems
MenTaLguY
mental at rydia.net
Wed Dec 12 11:43:31 PST 2007
On Wed, 12 Dec 2007 10:10:25 -0800, Me Myself <radracer59 at inbox.com> wrote:
> So given any arbitrary X and Y scaling, do you know a formula I could use
> on the gradient pattern points to make them maintain the proper results
> when I manually calculate the points?
With only two points, it isn't possible to accommodate transformations
besides translation, uniform scaling, and rotation. Three input points
are required to represent more general affine transformations.
-mental
More information about the cairo
mailing list