12
Chapter 1: Programming Concepts
-12345
0
0xFF
Floats can hold decimal floating point or integer numbers; period and comma can be
used as decimal separators for floating point values. Exponential notation is also sup-
ported. The following values are all equivalent:
size = -123.45
size = -123,45
size = -1.2345E2
size = -1.2345e+2
Percentages are numbers with a % character directly after the numerical value. Some
options allow negative percentages:
leading=120%
topoffset=-20.5%
Handle.
Handles identify various types
of objects, e.g. fonts, images, ICC profiles or ac-
tions. Technically these are integer values which have been returned earlier by an API
function. For example, an image handle is returned by
PDF_load_image( ). Handles must
always be treated as opaque types; they must never be modified
or created by the appli-
cation directly (as opposed to using a handle returned by an API function). Handles
must always be valid for the respective type of object. For example, an option which ex-
pects an image handle must not be supplied with a
graphics handle, although both han-
dles are integer types.
Dostları ilə paylaş: