![]() |
![]() |
![]() |
GIMP Base Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define GIMP_CHECK_SIZE #define GIMP_CHECK_SIZE_SM #define GIMP_CHECK_DARK #define GIMP_CHECK_LIGHT void gimp_checks_get_shades (GimpCheckType type
,guchar *light
,guchar *dark
);
#define GIMP_CHECK_SIZE 8
The default checkerboard size in pixels. This is configurable in the core but GIMP plug-ins can't access the user preference and should use this constant instead.
#define GIMP_CHECK_DARK 0.4
The dark gray value for the default checkerboard pattern.
#define GIMP_CHECK_LIGHT 0.6
The dark light value for the default checkerboard pattern.
void gimp_checks_get_shades (GimpCheckType type
,guchar *light
,guchar *dark
);
Retrieves the actual shades of gray to use when drawing a checkerboard for a certain GimpCheckType.
|
the checkerboard type |
|
return location for the light shade |
|
return location for the dark shade |
Since GIMP 2.2