2000-02-07 Michael Natterer <mitch@gimp.org> * app/* * libgimp/* * plug-ins/* * tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and s/GimpSizeEntryUP/GimpSizeEntryUpdatePolicy/ * libgimp/gimpcolorspace.c: renamed the parameter names to match the names in the header. * libgimp/gimphelpui.h * libgimp/gimpimage.c * libgimp/gimpmatrix.h * libgimp/gimpsizeentry.[ch] * libgimp/gimpsizeentry.[ch] * libgimp/gimpunit.[ch] * libgimp/gimpunitmenu.[ch] * libgimp/gimpwidgets.[ch]: added documentation and use g* types all over the place (enables cross-referencing with the glib and gtk+ html documentation). * plug-ins/common/exchange.c * plug-ins/common/max_rgb.c: small cleanups. * plug-ins/common/mapcolor.c: the color buttons were attached in the wrong order.
151 lines
2.2 KiB
Plaintext
151 lines
2.2 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GimpUnit
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Provides a collection of predefined units and functions for creating
|
|
user-defined units.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GimpUnitMenu
|
|
</para>
|
|
<para>
|
|
#GimpSizeEntry
|
|
</para>
|
|
|
|
<!-- ##### ENUM GimpUnit ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@GIMP_UNIT_PIXEL: This is a "pseudo unit" which needs a resolution to
|
|
be transformed into inches, millimeters etc.
|
|
@GIMP_UNIT_INCH: The GIMP base unit.
|
|
@GIMP_UNIT_MM: There are 25.4 millimeters in an inch.
|
|
@GIMP_UNIT_POINT: There are 72.0 points in an inch.
|
|
@GIMP_UNIT_PICA: There are 6.0 picas in an inch.
|
|
@GIMP_UNIT_END: This is an internal value. Please use
|
|
gimp_unit_get_number_of_built_in_units() instead.
|
|
@GIMP_UNIT_PERCENT: This is a "pseudo unit" which does not really
|
|
belong here. You can ask for it's strings but
|
|
asking for @factor, @digits or @deletion_flag fill
|
|
fail with an error.
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_number_of_units ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_number_of_built_in_units ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@identifier:
|
|
@factor:
|
|
@digits:
|
|
@symbol:
|
|
@abbreviation:
|
|
@singular:
|
|
@plural:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_deletion_flag ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_set_deletion_flag ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@deletion_flag:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_factor ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_digits ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_identifier ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_symbol ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_abbreviation ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_singular ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_unit_get_plural ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@unit:
|
|
@Returns:
|
|
|
|
|