Canvas: expose dirtyPixels() to Nasal
This commit is contained in:
parent
b96327acf7
commit
6ae2c387bf
1 changed files with 2 additions and 1 deletions
|
@ -534,7 +534,8 @@ naRef initNasalCanvas(naRef globals, naContext c)
|
|||
NasalImage::init("canvas.Image")
|
||||
.bases<NasalElement>()
|
||||
.method("fillRect", &f_imageFillRect)
|
||||
.method("setPixel", &f_imageSetPixel);
|
||||
.method("setPixel", &f_imageSetPixel)
|
||||
.method("dirtyPixels", &sc::Image::dirtyPixels);
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Layouting
|
||||
|
|
Loading…
Reference in a new issue