mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user