[cairo] problem with scaling images

Owen Taylor otaylor at redhat.com
Mon Aug 22 09:10:59 PDT 2005

On Mon, 2005-07-11 at 18:58 +0200, Benjamin Berg wrote:
> Hello,
> I am currently trying to port my gtk engine to cairo. Everything worked
> pretty smoothly, but I ran into a problem.
> I am trying to draw scaled images, but somehow they fade out at one
> side, and are placed at the wrong position. For an example see:
> http://benjamin.sipsolutions.net/screenshots/zenity-wrong.png
> as a reference, an old version not rendered with cairo:
> http://benjamin.sipsolutions.net/screenshots/zenity-correct.png
> For example look at the top of the buttons. The line should have full
> opacity everywhere, but at the left it transparent.

I filed a bug about the API part of this problem - the lack of a
CLAMP extend mode



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050822/033b8dbd/attachment-0001.pgp

More information about the cairo mailing list