LibreOffice: com/sun/star/rendering/XColorSpace.idl Source File

LibreOffice LibreOffice 25.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
37 interface XColorSpace
38{
44 byte getType();
45
63 sequence<byte> getComponentTags();
64
70 byte getRenderingIntent();
71
80 sequence< ::com::sun::star::beans::PropertyValue > getProperties();
81
82
83
102 sequence<ColorComponent> convertColorSpace( [in] sequence<ColorComponent> deviceColor, [in] XColorSpace targetColorSpace )
103 raises (com::sun::star::lang::IllegalArgumentException);
104
125 sequence<RGBColor> convertToRGB( [in] sequence<ColorComponent> deviceColor )
126 raises (com::sun::star::lang::IllegalArgumentException);
127
145 sequence<ARGBColor> convertToARGB( [in] sequence<ColorComponent> deviceColor )
146 raises (com::sun::star::lang::IllegalArgumentException);
147
169 sequence<ARGBColor> convertToPARGB( [in] sequence<ColorComponent> deviceColor )
170 raises (com::sun::star::lang::IllegalArgumentException);
171
187 sequence<ColorComponent> convertFromRGB( [in] sequence<RGBColor> rgbColor )
188 raises (com::sun::star::lang::IllegalArgumentException);
189
205 sequence<ColorComponent> convertFromARGB( [in] sequence<ARGBColor> rgbColor )
206 raises (com::sun::star::lang::IllegalArgumentException);
207
226 sequence<ColorComponent> convertFromPARGB( [in] sequence<ARGBColor> rgbColor )
227 raises (com::sun::star::lang::IllegalArgumentException);
228};
229
230}; }; }; };
231
232/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
com::sun::star::rendering::XColorSpace
Information how to interpret certain color data.
Definition XColorSpace.idl:38
com::sun::star::rendering::XColorSpace::convertColorSpace
sequence< ColorComponent > convertColorSpace([in] sequence< ColorComponent > deviceColor, [in] XColorSpace targetColorSpace)
Convert to color of another color space.
com::sun::star::rendering::XColorSpace::getRenderingIntent
byte getRenderingIntent()
Query rendering intent of this color space.
com::sun::star::rendering::XColorSpace::convertToARGB
sequence< ARGBColor > convertToARGB([in] sequence< ColorComponent > deviceColor)
Convert color value in this color space to sRGB color values, with linear alpha.
com::sun::star::rendering::XColorSpace::convertToRGB
sequence< RGBColor > convertToRGB([in] sequence< ColorComponent > deviceColor)
Convert color value in this color space to sRGB color values.
com::sun::star::rendering::XColorSpace::convertFromRGB
sequence< ColorComponent > convertFromRGB([in] sequence< RGBColor > rgbColor)
Convert sRGB color to a representation in this color space.
com::sun::star::rendering::XColorSpace::getType
byte getType()
Query type of this color space.
com::sun::star::rendering::XColorSpace::convertToPARGB
sequence< ARGBColor > convertToPARGB([in] sequence< ColorComponent > deviceColor)
Convert color value in this color space to premultiplied sRGB color values, with linear alpha.
com::sun::star::rendering::XColorSpace::getProperties
sequence< ::com::sun::star::beans::PropertyValue > getProperties()
Query various optional properties from the color space.
com::sun::star::rendering::XColorSpace::convertFromPARGB
sequence< ColorComponent > convertFromPARGB([in] sequence< ARGBColor > rgbColor)
Convert premultiplied sRGB color with linear alpha into this color space.
com::sun::star::rendering::XColorSpace::convertFromARGB
sequence< ColorComponent > convertFromARGB([in] sequence< ARGBColor > rgbColor)
Convert sRGB color with linear alpha into this color space.
com::sun::star::rendering::XColorSpace::getComponentTags
sequence< byte > getComponentTags()
Query the kind for each color component.
com
Definition Ambiguous.idl:20