pre-calc the sum of a picture added to an RrImage rather than calculating it every...
[mikachu/openbox.git] / render / image.h
index 28f29c2..b478daf 100644 (file)
@@ -22,6 +22,9 @@
 #include "render.h"
 #include "geom.h"
 
 #include "render.h"
 #include "geom.h"
 
+/*! Initialize an RrImagePicture to the specified dimensions and pixel data */
+void RrImagePicInit(RrImagePic *pic, gint w, gint h, RrPixel32 *data);
+
 void RrImageDrawImage(RrPixel32 *target, RrTextureImage *img,
                       gint target_w, gint target_h,
                       RrRect *area);
 void RrImageDrawImage(RrPixel32 *target, RrTextureImage *img,
                       gint target_w, gint target_h,
                       RrRect *area);