[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] NSBitmapImageRep colorAtX:y: flipped coordinates

From: Eric Wasylishen
Subject: [PATCH] NSBitmapImageRep colorAtX:y: flipped coordinates
Date: Sat, 12 Dec 2009 17:33:53 -0700

On OS X, the methods in NSBitmapImageRep for accessing and setting
pixels use "flipped" coordinates - i.e. [colorAtX:0 y:0] is the
top-left pixel, whereas on GNUstep that returns the bottom-left pixel.
This patch corrects GNUstep to match OS X, and changes the only place
where these methods are used.

Attachment: BitmapCoordinates.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]