i_img_info() (C API) no longer tries to handle a NULL image object pointer.
[imager.git] / rendert.h
index 2eb79a2..3aa2470 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