27 |
#include <GraphicsFoundation/GFImage.h> |
#include <GraphicsFoundation/GFImage.h> |
28 |
#include <sys/types.h> |
#include <sys/types.h> |
29 |
|
|
30 |
/* Create a bitmap context that is WIDTH wide and HEIGHT high. |
/* Create a bitmap context that is will render into DST_IMG. */ |
31 |
BITS_PER_COMPONENT must be 8. COLORSPACE is just used to get the |
GF_EXTERN GFContextRef GFBitmapContextCreate (GFImageRef dst_img, |
32 |
number of components for the bitmap. Returns a reference to the |
GFColorSpaceRef colorspace); |
|
bitmap context. */ |
|
|
GF_EXTERN GFContextRef GFBitmapContextCreate (void *raster_buffer, |
|
|
size_t width, size_t height, |
|
|
size_t bits_per_component, |
|
|
size_t rowstride, |
|
|
GFColorSpaceRef colorspace, |
|
|
GFImageAlphaInfo alpha_info); |
|
33 |
|
|
34 |
#endif /* GFBitmapContext.h */ |
#endif /* GFBitmapContext.h */ |