]> git.imager.perl.org - imager.git/blobdiff - rendert.h
avoid a possible sign-extension for offsets/sizes in SGI
[imager.git] / rendert.h
index 2eb79a2567632475e262379ff403094fc5cd023b..3aa2470a118fbe6339a310b6cea2716f9c4b2b2e 100644 (file)
--- a/rendert.h
+++ b/rendert.h
@@ -1,17 +1,19 @@
 #ifndef IMAGER_RENDERT_H
 #define IMAGER_RENDERT_H
 
-typedef struct {
+#include "imdatatypes.h"
+
+struct i_render_tag {
   int magic;
   i_img *im;
 
-  int line_width;
+  i_img_dim line_width;
   i_color *line_8;
   i_fcolor *line_double;
 
-  int fill_width;
+  i_img_dim fill_width;
   i_color *fill_line_8;
   i_fcolor *fill_line_double;
-} i_render;
+};
 
 #endif