[cairo-bugs] [Bug 14248] Gradient pattern with matrix transform causes error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 7 12:56:01 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=14248





--- Comment #7 from Richard Hult <richard at imendio.com>  2008-03-07 12:55:58 PST ---
Ah, I wasn't quite clear :) There is a visual error, the simple test case
attached here shows it clearly, run it with and without the matrix
transformation:

  /* This transformation seems to be what triggers the error: */
  cairo_matrix_init (&matrix, 0, 1, 1, 0, 0, 0);
  cairo_transform (cr, &matrix);         // <-- comment out this line to get it
working


The result is an empty window vs a black to white gradient across the whole
window.

Btw, I just noticed that the warning fix doesn't work:

+    CGContextGetTypePtr = dlsym(RTLD_DEFAULT, "CGContextGetTypePtr");

The "Ptr" part of the symbol looks like a typo.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list