Coverity complained colors could be left uninitialized.
[imager.git] / rendert.h
index 8b34a97..3aa2470 100644 (file)
--- a/rendert.h
+++ b/rendert.h
@@ -1,12 +1,19 @@
 #ifndef IMAGER_RENDERT_H
 #define IMAGER_RENDERT_H
 
-typedef struct {
+#include "imdatatypes.h"
+
+struct i_render_tag {
   int magic;
   i_img *im;
+
+  i_img_dim line_width;
   i_color *line_8;
   i_fcolor *line_double;
-  int width;
-} i_render;
+
+  i_img_dim fill_width;
+  i_color *fill_line_8;
+  i_fcolor *fill_line_double;
+};
 
 #endif