Removed Canvas:getPixel and added optional x/y/width/height arguments to Canvas:getImageData to specify a sub-rectangle (see issue #1001.)

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-25 23:27:35 -04:00
parent 1b29679912
commit 8239d472d4
3 changed files with 24 additions and 51 deletions
+1 -3
View File
@@ -91,9 +91,7 @@ public:
**/
bool checkCreateStencil();
love::image::ImageData *getImageData(love::image::Image *image);
void getPixel(unsigned char* pixel_rgba, int x, int y);
love::image::ImageData *getImageData(love::image::Image *image, int x, int y, int w, int h);
inline const std::vector<Canvas *> &getAttachedCanvases() const
{