Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / rendering / FloatingPointBitmapFormat.idl
blob0e61cd329d41089bac206ed5601becd770fa74fb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_rendering_FloatingPointBitmapFormat_idl__
20 #define __com_sun_star_rendering_FloatingPointBitmapFormat_idl__
22 module com { module sun { module star { module rendering {
24 /** This structure describes format of a floating point bitmap.<p>
26 @since OOo 2.0
28 constants FloatingPointBitmapFormat
30 /** Half-float format.<p>
32 The color components are stored in the half-float format,
33 i.e. in a 16 bit value, with 5 bit exponent, 10 bit mantissa
34 and a sign bit. See also <a
35 href="http://www.openexr.com/">OpenEXR</a> for a format
36 employing half-floats.<p>
38 const byte HALFFLOAT=0;
40 /** IEEE float format.<p>
42 The color components are stored in the IEEE single-precision
43 floating point format, i.e. in a 32 bit value, with 8 bit
44 exponent, 23 bit mantissa and a sign bit.<p>
46 const byte FLOAT=1;
48 /** IEEE double format.<p>
50 The color components are stored in the IEEE double-precision
51 floating point format, i.e. in a 64 bit value, with 16 bit
52 exponent, 47 bit mantissa and a sign bit.<p>
54 const byte DOUBLE=2;
57 }; }; }; };
59 #endif
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */