LibreOffice
LibreOffice 24.2 SDK API Reference
Loading...
Searching...
No Matches
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
20module com { module sun { module star { module rendering {
21
37interface XColorSpace
38{
44 byte getType();
45
63 sequence<byte> getComponentTags();
64
71
80 sequence< ::com::sun::star::beans::PropertyValue > getProperties();
81
82
83
102 sequence<ColorComponent> convertColorSpace( [in] sequence<ColorComponent> deviceColor, [in] XColorSpace targetColorSpace )
104
125 sequence<RGBColor> convertToRGB( [in] sequence<ColorComponent> deviceColor )
127
145 sequence<ARGBColor> convertToARGB( [in] sequence<ColorComponent> deviceColor )
147
169 sequence<ARGBColor> convertToPARGB( [in] sequence<ColorComponent> deviceColor )
171
187 sequence<ColorComponent> convertFromRGB( [in] sequence<RGBColor> rgbColor )
189
205 sequence<ColorComponent> convertFromARGB( [in] sequence<ARGBColor> rgbColor )
207
226 sequence<ColorComponent> convertFromPARGB( [in] sequence<ARGBColor> rgbColor )
228};
229
230}; }; }; };
231
232/* 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:27
Information how to interpret certain color data.
Definition XColorSpace.idl:38
sequence< ColorComponent > convertColorSpace([in] sequence< ColorComponent > deviceColor, [in] XColorSpace targetColorSpace)
Convert to color of another color space.
byte getRenderingIntent()
Query rendering intent of 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< RGBColor > convertToRGB([in] sequence< ColorComponent > deviceColor)
Convert color value in this color space to sRGB color values.
sequence< ColorComponent > convertFromRGB([in] sequence< RGBColor > rgbColor)
Convert sRGB color to a representation in this color space.
byte getType()
Query type of this color space.
sequence< ARGBColor > convertToPARGB([in] sequence< ColorComponent > deviceColor)
Convert color value in this color space to premultiplied sRGB color values, with linear alpha.
sequence< ::com::sun::star::beans::PropertyValue > getProperties()
Query various optional properties from the color space.
sequence< ColorComponent > convertFromPARGB([in] sequence< ARGBColor > rgbColor)
Convert premultiplied sRGB color with linear alpha into this color space.
sequence< ColorComponent > convertFromARGB([in] sequence< ARGBColor > rgbColor)
Convert sRGB color with linear alpha into this color space.
sequence< byte > getComponentTags()
Query the kind for each color component.
Definition Ambiguous.idl:20