diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-04-12 15:41:29 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-04-12 15:41:29 +0000 |
commit | 510c9a95fb5f3f4a40a19ce66c95344c2013085f (patch) | |
tree | 4f69c12e773da63b2f5d7c116bd241043de24003 /tests/png.c | |
parent | bef2ee297d3492c8a54e61fe498e6eda518da250 (diff) | |
download | dimension-510c9a95fb5f3f4a40a19ce66c95344c2013085f.tar.xz |
Change argument order of dmnsn_set_pixel; write C++ canvas wrapper.
Diffstat (limited to 'tests/png.c')
-rw-r--r-- | tests/png.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/png.c b/tests/png.c index 2b3bf5b..b7edd95 100644 --- a/tests/png.c +++ b/tests/png.c @@ -67,7 +67,7 @@ int main() { color.trans = 0.5; } - dmnsn_set_pixel(canvas, color, i, j); + dmnsn_set_pixel(canvas, i, j, color); /* * CIE Lab colorspace @@ -85,7 +85,7 @@ int main() { color.trans = 0.5; } - dmnsn_set_pixel(canvas, color, i + x, j); + dmnsn_set_pixel(canvas, i + x, j, color); /* * CIE Luv colorspace @@ -103,7 +103,7 @@ int main() { color.trans = 0.5; } - dmnsn_set_pixel(canvas, color, i + 2*x, j); + dmnsn_set_pixel(canvas, i + 2*x, j, color); } } |