diff options
Diffstat (limited to 'render/image.h')
| -rw-r--r-- | render/image.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/render/image.h b/render/image.h index 1c535960..b478daf9 100644 --- a/render/image.h +++ b/render/image.h @@ -22,8 +22,14 @@ #include "render.h" #include "geom.h" -void RrImageDraw(RrPixel32 *target, RrTextureRGBA *rgba, - gint target_w, gint target_h, - RrRect *area); +/*! 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 RrImageDrawRGBA(RrPixel32 *target, RrTextureRGBA *rgba, + gint target_w, gint target_h, + RrRect *area); #endif |
