Mercurial > hg > forks > multipaint-js
comparison exporters.pde @ 201:823672f83ae9
Call PImage::updatePixels() in mpRenderToImageAt() to update the image
pixels (aka Canvas element used by PSJS).
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 29 Aug 2018 14:08:05 +0300 |
parents | 4bdb6d0df3ca |
children | 0e8011589d76 |
comparison
equal
deleted
inserted
replaced
200:dffdbdb4ded6 | 201:823672f83ae9 |
---|---|
1296 xx * omag + xoffs + mortti, | 1296 xx * omag + xoffs + mortti, |
1297 yy * omag + yoffs + vertti, | 1297 yy * omag + yoffs + vertti, |
1298 c); | 1298 c); |
1299 } | 1299 } |
1300 } | 1300 } |
1301 | |
1302 output.updatePixels(); | |
1301 } | 1303 } |
1302 | 1304 |
1303 | 1305 |
1304 PImage mpRenderImage(boolean border, int bordh, int bordv, int omag) | 1306 PImage mpRenderImage(boolean border, int bordh, int bordv, int omag) |
1305 { | 1307 { |