gimp-brush-get-pixels

Michael Natterer <mitch@gimp.org>

Description

Retrieve information about the specified brush.

Help

This procedure retrieves information about the specified brush. This includes the brush extents (width and height) and its pixels data.


Type

unknown

Parameters

Type Name Description
PF_VALUE name The brush name

Return

Type Name Description
PF_INT width The brush width
PF_INT height The brush height
PF_INT mask-bpp The brush mask bpp
PF_INT num-mask-bytes Length of brush mask data (num-mask-bytes >= 0)
unknown mask-bytes The brush mask data
PF_INT color-bpp The brush color bpp
PF_INT num-color-bytes Length of brush color data (num-color-bytes >= 0)
unknown color-bytes The brush color data