[cairo-bugs] [Bug 4182] Add a "clamp" extend mode.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 9 09:27:12 PDT 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4182          
     




------- Additional Comments From cworth at cworth.org  2005-10-09 09:27 -------
[I wrote this before Billy resolved the bug---but here it is rather than
throwing it away.]

CAIRO_EXTEND_NONE should work the same for all patterns, (by extending as
transparent). What we shouldn't change is the default behavior of gradients,
(which have been extending as NEAREST even though the default was nominally NONE).

So I like the patch, it adds NEAREST and changes gradient extent to NEAREST to
preserve the current behavior. I assume it also fixes the behavior of NONE for
gradients, (which is a bug fix and hopefully won't cause any compatibility
problems).

Different extend defaults for different pattern types is a bit goofy, but does
give the desired (and compatible) behavior. The last thing I see missing here is
documentation for the different extend modes, and documentation for the default
extend modes for the various patterns.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list