1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_rendering_FloatingPointBitmapFormat_idl__ 24#define __com_sun_star_rendering_FloatingPointBitmapFormat_idl__ 25 26module com { module sun { module star { module rendering { 27 28/** This structure describes format of a floating point bitmap.<p> 29 30 @since OpenOffice 2.0 31 */ 32constants FloatingPointBitmapFormat 33{ 34 /** Half-float format.<p> 35 36 The color components are stored in the half-float format, 37 i.e. in a 16 bit value, with 5 bit exponent, 10 bit mantissa 38 and a sign bit. See also <a 39 href="http://www.openexr.com/">OpenEXR</a> for a format 40 employing half-floats.<p> 41 */ 42 const byte HALFFLOAT=0; 43 44 /** IEEE float format.<p> 45 46 The color components are stored in the IEEE single-precision 47 floating point format, i.e. in a 32 bit value, with 8 bit 48 exponent, 23 bit mantissa and a sign bit.<p> 49 */ 50 const byte FLOAT=1; 51 52 /** IEEE double format.<p> 53 54 The color components are stored in the IEEE double-precision 55 floating point format, i.e. in a 64 bit value, with 16 bit 56 exponent, 47 bit mantissa and a sign bit.<p> 57 */ 58 const byte DOUBLE=2; 59}; 60 61}; }; }; }; 62 63#endif 64