[cairo] problem with scaling images

Benjamin Berg benjamin at sipsolutions.net
Mon Jul 11 10:59:14 PDT 2005

On Mo, 2005-07-11 at 18:58 +0200, Benjamin Berg wrote:
> Hello,
> 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.

Could it be, that the scaling routine just assumes that there is alpha
around the image? I think that would explain the whole thing.

If this is the case, how can I work around it?

-------------- 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/20050711/a49c5f8b/attachment.pgp

More information about the cairo mailing list