From 1d62584742f5c95ff3720ad4f50c59afc018a235 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 13 Feb 2008 09:14:58 -0500 Subject: pre-calc the sum of a picture added to an RrImage rather than calculating it every time --- render/image.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'render/image.h') diff --git a/render/image.h b/render/image.h index 28f29c2c..b478daf9 100644 --- a/render/image.h +++ b/render/image.h @@ -22,6 +22,9 @@ #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); -- cgit v1.2.3