LibreOffice
LibreOffice 7.2 SDK API Reference
XColorSpace.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef __com_sun_star_rendering_XColorSpace_idl__
20 #define __com_sun_star_rendering_XColorSpace_idl__
21 
29 
30 module com { module sun { module star { module rendering {
31 
47 interface XColorSpace
48 {
54  byte getType();
55 
73  sequence<byte> getComponentTags();
74 
81 
90  sequence< ::com::sun::star::beans::PropertyValue > getProperties();
91 
92 
93 
112  sequence<ColorComponent> convertColorSpace( [in] sequence<ColorComponent> deviceColor, [in] XColorSpace targetColorSpace )
114 
135  sequence<RGBColor> convertToRGB( [in] sequence<ColorComponent> deviceColor )
137 
155  sequence<ARGBColor> convertToARGB( [in] sequence<ColorComponent> deviceColor )
157 
179  sequence<ARGBColor> convertToPARGB( [in] sequence<ColorComponent> deviceColor )
181 
197  sequence<ColorComponent> convertFromRGB( [in] sequence<RGBColor> rgbColor )
199 
215  sequence<ColorComponent> convertFromARGB( [in] sequence<ARGBColor> rgbColor )
217 
236  sequence<ColorComponent> convertFromPARGB( [in] sequence<ARGBColor> rgbColor )
238 };
239 
240 }; }; }; };
241 
242 #endif
243 
244 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
Information how to interpret certain color data.
Definition: XColorSpace.idl:48
byte getRenderingIntent()
Query rendering intent of this color space.
sequence< ColorComponent > convertFromARGB([in] sequence< ARGBColor > rgbColor)
Convert sRGB color with linear alpha into this color space.
sequence< ColorComponent > convertColorSpace([in] sequence< ColorComponent > deviceColor, [in] XColorSpace targetColorSpace)
Convert to color of another color space.
byte getType()
Query type of this color space.
sequence< RGBColor > convertToRGB([in] sequence< ColorComponent > deviceColor)
Convert color value in this color space to sRGB color values.
sequence< ::com::sun::star::beans::PropertyValue > getProperties()
Query various optional properties from the color space.
sequence< byte > getComponentTags()
Query the kind for each color component.
sequence< ARGBColor > convertToPARGB([in] sequence< ColorComponent > deviceColor)
Convert color value in this color space to premultiplied sRGB color values, with linear alpha.
sequence< ColorComponent > convertFromPARGB([in] sequence< ARGBColor > rgbColor)
Convert premultiplied sRGB color with linear alpha into this color space.
sequence< ARGBColor > convertToARGB([in] sequence< ColorComponent > deviceColor)
Convert color value in this color space to sRGB color values, with linear alpha.
sequence< ColorComponent > convertFromRGB([in] sequence< RGBColor > rgbColor)
Convert sRGB color to a representation in this color space.
Definition: Ambiguous.idl:22