Apply patch by Eric Wasylishen to correct the orientation of colorAtX:y:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29120 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2009-12-14 13:26:26 +00:00
parent cacdad6f44
commit b8d68dcdbb
3 changed files with 27 additions and 7 deletions

View file

@ -791,7 +791,7 @@ withRepeatedImage: (NSImage*)image
for (i = 0; i < s.width; i++)
{
NSColor *pixelColor = [rep colorAtX: i y: s.height - 1];
NSColor *pixelColor = [rep colorAtX: i y: 0];
[pixelColor getRed: &r green: &g blue: &b alpha: &a];
if (a > 0 && x1 == -1)