[compiz] GWD button drawing prob-- any Cairo pro have insights?

David Reveman davidr at novell.com
Mon Apr 9 08:35:02 PDT 2007

On Sun, 2007-04-08 at 05:48 +0200, Gerd Kohlberger wrote:
> I think that happens because of how cairo maps coordinates. You have to shift some coordinates by 0.5px
> depending on the line width. The first question here explains it better than i can:
> http://cairographics.org/FAQ ( btw, i guess i'm a 'pixels are little squares' person :) )

This has nothing to do with how you might want to snap coordinates to
fill pixels at full intensity. Minimize and maximize buttons, which has
edges that makes sense to align to the pixel grid are already aligned

- David

More information about the compiz mailing list