summaryrefslogtreecommitdiffstats
path: root/tests/png.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-04-12 15:41:29 +0000
committerTavian Barnes <tavianator@gmail.com>2009-04-12 15:41:29 +0000
commit510c9a95fb5f3f4a40a19ce66c95344c2013085f (patch)
tree4f69c12e773da63b2f5d7c116bd241043de24003 /tests/png.c
parentbef2ee297d3492c8a54e61fe498e6eda518da250 (diff)
downloaddimension-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.c6
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);
}
}