Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: rendering ::

unpublished constants group FloatingPointBitmapFormat
Usage Restrictions
not published
Description
This structure describes format of a floating point bitmap.

Since
OOo 2.0

Constants
HALFFLOAT Half-float format. 
FLOAT IEEE float format. 
DOUBLE IEEE double format. 
Constants' Details
HALFFLOAT
const byte HALFFLOAT =0;
Description
Half-float format.

The color components are stored in the half-float format, i.e. in a 16 bit value, with 5 bit exponent, 10 bit mantissa and a sign bit. See also OpenEXR for a format employing half-floats.

FLOAT
const byte FLOAT =1;
Description
IEEE float format.

The color components are stored in the IEEE single-precision floating point format, i.e. in a 32 bit value, with 8 bit exponent, 23 bit mantissa and a sign bit.

DOUBLE
const byte DOUBLE =2;
Description
IEEE double format.

The color components are stored in the IEEE double-precision floating point format, i.e. in a 64 bit value, with 16 bit exponent, 47 bit mantissa and a sign bit.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.