Method
MetaShapedTexturepaint_to_bitmap
Declaration [src]
CoglBitmap*
meta_shaped_texture_paint_to_bitmap (
MetaShapedTexture* stex,
MtkRectangle* clip,
CoglPixelFormat format
)
Parameters
clip-
Type:
MtkRectangleA clipping rectangle, to help prevent extra processing. In the case that the clipping rectangle is partially or fully outside the bounds of the texture, the rectangle will be clipped.
The argument can be NULL.The data is owned by the caller of the method. format-
Type:
CoglPixelFormatThe pixel format for the image data.
Return value
Type: CoglBitmap
A new CoglBitmap.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
The return value can be NULL. |