diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-13 09:14:58 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-14 15:10:14 -0500 |
| commit | 38c96413b375516a25086cf169d2d3cb7c6075f7 (patch) | |
| tree | afb3d69d15db7b2212bd92565579b06c18ed3366 /render/image.h | |
| parent | a2e3026d8a398a4d08c05610c3f652dd14fcdf45 (diff) | |
pre-calc the sum of a picture added to an RrImage rather than calculating it every time
Diffstat (limited to 'render/image.h')
| -rw-r--r-- | render/image.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
