Re: [Bug 43397] EXTEND_NONE is used instead of EXTEND_PAD when src sample area is entirely within the surface
Bill Spitzak <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
The reason the hardware is supporting EXTEND_PAD is because no software uses what Cairo is calling "EXTEND_NONE". The desired behavior that users of Cairo expect for any setting that is "black outside the image" is that either EXTEND_PAD or EXTEND_REFLECT is used to draw the image, but the mask is temporarily intersected with the antialiased parallelogram that is the boundary of the source surface transformed by the surface transform (or possibly it should act like the path is intersected with this parallelogram). I would guess that this would move all handling of EXTEND_NONE out of the source sampling code and over to some modification of the masking code. Therefore the sampling would always be set to PAD/REFLECT/REPEAT. I feel this needs some serious looking into. I believe that changing the EXTEND_NONE setting of Cairo to act this way will be an improvement greatly appreciated by everybody. On 12/09/2011 11:38 AM, [email protected] wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=43397 > > Konstantin Svist<[email protected]> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|RESOLVED |REOPENED > Resolution|FIXED | > > --- Comment #8 from Konstantin Svist<[email protected]> 2011-12-09 11:38:58 PST --- > please keep discussing > -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo