gimpchecks 3 LIBGIMPBASE Library gimpchecksConstants and functions related to rendering checkerboards. Synopsis #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); Description Constants and functions related to rendering checkerboards. Details <anchor id="GIMP-CHECK-SIZE:CAPS"/>GIMP_CHECK_SIZE GIMP_CHECK_SIZE#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. <anchor id="GIMP-CHECK-SIZE-SM:CAPS"/>GIMP_CHECK_SIZE_SM GIMP_CHECK_SIZE_SM#define GIMP_CHECK_SIZE_SM 4 The default small checkerboard size in pixels. <anchor id="GIMP-CHECK-DARK:CAPS"/>GIMP_CHECK_DARK GIMP_CHECK_DARK#define GIMP_CHECK_DARK 0.4 The dark gray value for the default checkerboard pattern. <anchor id="GIMP-CHECK-LIGHT:CAPS"/>GIMP_CHECK_LIGHT GIMP_CHECK_LIGHT#define GIMP_CHECK_LIGHT 0.6 The light gray value for the default checkerboard pattern. <anchor id="gimp-checks-get-shades"/>gimp_checks_get_shades () gimp_checks_get_shadesvoid 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. type : the checkerboard type light : return location for the light shade dark : return location for the dark shade Since GIMP 2.2