Files
gimp/devel-docs/libgimpbase/tmpl/gimplimits.sgml
Sven Neumann 1b81142365 libgimpbase/gimpchecks.h moved check size and check color defines. It
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.
2004-09-03 11:18:56 +00:00

63 lines
1.5 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
gimplimits
<!-- ##### SECTION Short_Description ##### -->
Boundaries of some GIMP data types and some global constants.
<!-- ##### SECTION Long_Description ##### -->
<para>
Boundaries of some GIMP data types and some global constants.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### MACRO GIMP_MIN_IMAGE_SIZE ##### -->
<para>
The minimum width and height of a GIMP image in pixels.
</para>
<!-- ##### MACRO GIMP_MAX_IMAGE_SIZE ##### -->
<para>
The maximum width and height of a GIMP image in pixels. This is a
somewhat arbitray value that can be used when an upper value for pixel
sizes is needed; for example to give a spin button an upper limit.
</para>
<!-- ##### MACRO GIMP_MIN_RESOLUTION ##### -->
<para>
The minimum resolution of a GIMP image in pixels per inch. This is a
somewhat arbitray value that can be used to when a lower value for a
resolution is needed. GIMP will not accept resolutions smaller than
this value.
</para>
<!-- ##### MACRO GIMP_MAX_RESOLUTION ##### -->
<para>
The maximum resolution of a GIMP image in pixels per inch. This is a
somewhat arbitray value that can be used to when an upper value for a
resolution is needed. GIMP will not accept resolutions larger than
this value.
</para>
<!-- ##### MACRO GIMP_MAX_MEMSIZE ##### -->
<para>
A large but arbitrary value that can be used when an upper limit for a
memory size (in bytes) is needed. It is smaller than %G_MAXDOUBLE since
the #GimpMemsizeEntry doesn't handle larger values.
</para>