![]() |
![]() |
![]() |
GIMP Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
gboolean gimp_pattern_get_info (const gchar *name
,gint *width
,gint *height
,gint *bpp
); gboolean gimp_pattern_get_pixels (const gchar *name
,gint *width
,gint *height
,gint *bpp
,gint *num_color_bytes
,guint8 **color_bytes
);
gboolean gimp_pattern_get_info (const gchar *name
,gint *width
,gint *height
,gint *bpp
);
Retrieve information about the specified pattern.
This procedure retrieves information about the specified pattern. This includes the pattern extents (width and height).
|
The pattern name. |
|
The pattern width. |
|
The pattern height. |
|
The pattern bpp. |
Returns : |
TRUE on success. |
Since GIMP 2.2
gboolean gimp_pattern_get_pixels (const gchar *name
,gint *width
,gint *height
,gint *bpp
,gint *num_color_bytes
,guint8 **color_bytes
);
Retrieve information about the specified pattern (including pixels).
This procedure retrieves information about the specified. This includes the pattern extents (width and height), its bpp and its pixel data.
|
The pattern name. |
|
The pattern width. |
|
The pattern height. |
|
The pattern bpp. |
|
Number of pattern bytes. |
|
The pattern data. |
Returns : |
TRUE on success. |
Since GIMP 2.2