Method
GimpBrushget_pixels
Declaration [src]
gboolean
gimp_brush_get_pixels (
GimpBrush* brush,
gint* width,
gint* height,
gint* mask_bpp,
GBytes** mask_bytes,
gint* color_bpp,
GBytes** color_bytes
)
Description [src]
Gets information about the brush.
Gets information about the brush: the brush extents (width and height) and its pixels data. The color bpp is zero and pixels empty when the brush is parametric versus raster.
Available since: | 2.2 |
Parameters
width |
gint* |
The brush width. |
|
The argument will be set by the function. | |
height |
gint* |
The brush height. |
|
The argument will be set by the function. | |
mask_bpp |
gint* |
The brush mask bpp. |
|
The argument will be set by the function. | |
mask_bytes |
GBytes |
The brush mask data. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
color_bpp |
gint* |
The brush color bpp. |
|
The argument will be set by the function. | |
color_bytes |
GBytes |
The brush color data. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. |