Added an optional third argument to the width/height variant of love.image.newImageData. The new argument is a string containing raw byte pixel data to copy to the new ImageData (e.g. the result of a previous ImageData:getString with an ImageData of the same width and height..)

This commit is contained in:
Alex Szpakowski
2015-05-27 21:21:47 -03:00
parent f141cb3a16
commit 7e42d82308
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -391,7 +391,7 @@ public:
void circle(DrawMode mode, float x, float y, float radius, int points = 10);
/**
* Draws an eclipse using the specified arguments.
* Draws an ellipse using the specified arguments.
* @param mode The mode of drawing (line/filled).
* @param x X-coordinate of center
* @param y Y-coordinate of center