mirror of https://github.com/MLXXXp/Arduboy2.git
Merge pull request #45 from Pharap/add-drawexternalmask-comment
Add additional information to drawExternalMask
This commit is contained in:
commit
bc4e0ed0b5
|
@ -89,6 +89,9 @@ class Sprites
|
||||||
* An array containing the image frames, and another array containing
|
* An array containing the image frames, and another array containing
|
||||||
* corresponding mask frames, are used to draw a sprite.
|
* corresponding mask frames, are used to draw a sprite.
|
||||||
*
|
*
|
||||||
|
* For the mask array, the width and height are not included but must
|
||||||
|
* contain data of the same dimensions as the corresponding image array.
|
||||||
|
*
|
||||||
* Bits set to 1 in the mask indicate that the pixel will be set to the
|
* Bits set to 1 in the mask indicate that the pixel will be set to the
|
||||||
* value of the corresponding image bit. Bits set to 0 in the mask will be
|
* value of the corresponding image bit. Bits set to 0 in the mask will be
|
||||||
* left unchanged.
|
* left unchanged.
|
||||||
|
|
Loading…
Reference in New Issue