From 5c1676dfe6d2f3c837a5e074117b45613fd29a72 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:30:19 +0200 Subject: Adding upstream version 2.10.34. Signed-off-by: Daniel Baumann --- .../libgimpbase/html/libgimpbase-gimpchecks.html | 159 +++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 devel-docs/libgimpbase/html/libgimpbase-gimpchecks.html (limited to 'devel-docs/libgimpbase/html/libgimpbase-gimpchecks.html') diff --git a/devel-docs/libgimpbase/html/libgimpbase-gimpchecks.html b/devel-docs/libgimpbase/html/libgimpbase-gimpchecks.html new file mode 100644 index 0000000..e870ece --- /dev/null +++ b/devel-docs/libgimpbase/html/libgimpbase-gimpchecks.html @@ -0,0 +1,159 @@ + + + + +gimpchecks: GIMP Base Library Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

gimpchecks

+

gimpchecks — Constants and functions related to rendering +checkerboards.

+
+
+

Functions

+
++++ + + + + +
+void + +gimp_checks_get_shades () +
+
+
+

Types and Values

+
++++ + + + + + + + + + + + + + + + + + + +
#defineGIMP_CHECK_SIZE
#defineGIMP_CHECK_SIZE_SM
#defineGIMP_CHECK_DARK
#defineGIMP_CHECK_LIGHT
+
+
+

Description

+

Constants and functions related to rendering checkerboards.

+
+
+

Functions

+
+

gimp_checks_get_shades ()

+
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.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

type

the checkerboard type

 

light

return location for the light shade

 

dark

return location for the dark shade

 
+
+

Since: 2.2

+
+
+
+

Types and Values

+
+

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.

+
+
+
+

GIMP_CHECK_SIZE_SM

+
#define GIMP_CHECK_SIZE_SM  4
+
+

The default small checkerboard size in pixels.

+
+
+
+

GIMP_CHECK_DARK

+
#define GIMP_CHECK_DARK   0.4
+
+

The dark gray value for the default checkerboard pattern.

+
+
+
+

GIMP_CHECK_LIGHT

+
#define GIMP_CHECK_LIGHT  0.6
+
+

The dark light value for the default checkerboard pattern.

+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3