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

LibreOffice LibreOffice 7.3 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
22#include <com/sun/star/uno/XInterface.idl>
23#include <com/sun/star/lang/IllegalArgumentException.idl>
24#include <com/sun/star/beans/PropertyValue.idl>
25#include <com/sun/star/rendering/ColorProfile.idl>
26#include <com/sun/star/rendering/ColorComponent.idl>
27#include <com/sun/star/rendering/RGBColor.idl>
28#include <com/sun/star/rendering/ARGBColor.idl>
29
30module com { module sun { module star { module rendering {
31
47 interface XColorSpace
48{
54 byte getType();
55
73 sequence<byte> getComponentTags();
74
80 byte getRenderingIntent();
81
90 sequence< ::com::sun::star::beans::PropertyValue > getProperties();
91
92
93
112 sequence<ColorComponent> convertColorSpace( [in] sequence<ColorComponent> deviceColor, [in] XColorSpace targetColorSpace )
113 raises (com::sun::star::lang::IllegalArgumentException);
114
135 sequence<RGBColor> convertToRGB( [in] sequence<ColorComponent> deviceColor )
136 raises (com::sun::star::lang::IllegalArgumentException);
137
155 sequence<ARGBColor> convertToARGB( [in] sequence<ColorComponent> deviceColor )
156 raises (com::sun::star::lang::IllegalArgumentException);
157
179 sequence<ARGBColor> convertToPARGB( [in] sequence<ColorComponent> deviceColor )
180 raises (com::sun::star::lang::IllegalArgumentException);
181
197 sequence<ColorComponent> convertFromRGB( [in] sequence<RGBColor> rgbColor )
198 raises (com::sun::star::lang::IllegalArgumentException);
199
215 sequence<ColorComponent> convertFromARGB( [in] sequence<ARGBColor> rgbColor )
216 raises (com::sun::star::lang::IllegalArgumentException);
217
236 sequence<ColorComponent> convertFromPARGB( [in] sequence<ARGBColor> rgbColor )
237 raises (com::sun::star::lang::IllegalArgumentException);
238};
239
240}; }; }; };
241
242#endif
243
244/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ARGBColor.idl
ColorComponent.idl
ColorProfile.idl
IllegalArgumentException.idl
PropertyValue.idl
RGBColor.idl
XInterface.idl
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
com::sun::star::rendering::XColorSpace
Information how to interpret certain color data.
Definition: XColorSpace.idl:48
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: Accessible.idl:22