Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

3.3.  The Unit Editor

Revision History
Revision $Revision$ 2006-08-09 scb

The Unit Editor command displays a dialog which shows information about the units of measurement that are currently being used by GIMP. It also allows you to create new units which can be used by GIMP in a variety of situations.

3.3.1.  Activating the Command

  • You can access this command from the toolbox menubar through Xtns->Unit Editor>.

3.3.2.  Description of the “Unit Editor” dialog window

Figure 10.10.  The “Unit Editor” dialog window

The Unit Editor dialog window

The figure above shows the “Unit Editor” dialog window. The list shows the units of measurement which are currently defined. You can click on the New button or the Duplicate button to create a new measurement unit, as described below.

Description of the list elements

  • Saved: If this column is checked, a unit definition will be saved when GIMP exits. Some units are always kept, even if they are not marked with a check. These are highlighted in the list.

  • ID: The string GIMP uses to identify the unit in its configuration files.

  • Factor: How many units make up an inch.

  • Digits: This field is a hint for numerical input fields. It specifies how many decimal digits the input field should provide to get approximately the same accuracy as an “inch” input field with two decimal digits.

  • Symbol: The unit's symbol if it has one (e.g. " for inches). The unit's abbreviation is used if doesn't have a symbol.

  • Abbreviation: The unit's abbreviation (e.g. “cm” for centimeters).

  • Singular: The unit's singular form, which GIMP can use to display messages about the unit.

  • Plural: The unit's plural form, which GIMP can use to display messages about the unit.

3.3.3.  Defining New Units

Figure 10.11.  The “New Unit” dialog

The New Unit dialog

You can display the dialog shown above by clicking on either the New button or the Duplicate button on the Unit Editor dialog. The input fields on the dialog are described above.

If you click on the New button, the dialog looks as shown. If you click on the Duplicate button, the values initially displayed in the input fields of the dialog are the values of the unit you have currently selected in the Unit Editor dialog. You can then edit the values to create your new unit.


 
 
  Published under the terms of the GNU General Public License Design by Interspire