2004-09-03 Sven Neumann <sven@gimp.org> * libgimpbase/gimpchecks.h * libgimpbase/gimplimits.h: moved check size and check color defines. It makes a lot more sense to keep them in gimpchecks.h. * libgimpbase/gimpchecks.c (gimp_checks_get_shades): documented. * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw): added a sanity check so we don't crash if the drawable pointer should ever be NULL here.
57 lines
886 B
Plaintext
57 lines
886 B
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
gimpchecks
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### MACRO GIMP_CHECK_SIZE ##### -->
|
|
<para>
|
|
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.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GIMP_CHECK_SIZE_SM ##### -->
|
|
<para>
|
|
The default small checkerboard size in pixels.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GIMP_CHECK_DARK ##### -->
|
|
<para>
|
|
The dark gray value for the default checkerboard pattern.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GIMP_CHECK_LIGHT ##### -->
|
|
<para>
|
|
The light gray value for the default checkerboard pattern.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_checks_get_shades ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
@light:
|
|
@dark:
|
|
|
|
|