summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/rendering/XColorSpace.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/rendering/XColorSpace.idl')
-rw-r--r--offapi/com/sun/star/rendering/XColorSpace.idl41
1 files changed, 3 insertions, 38 deletions
diff --git a/offapi/com/sun/star/rendering/XColorSpace.idl b/offapi/com/sun/star/rendering/XColorSpace.idl
index 20a5e669baf0..ed624c9b0f12 100644
--- a/offapi/com/sun/star/rendering/XColorSpace.idl
+++ b/offapi/com/sun/star/rendering/XColorSpace.idl
@@ -31,47 +31,12 @@
#include <com/sun/star/lang/IllegalArgumentException.idl>
#include <com/sun/star/beans/PropertyValue.idl>
#include <com/sun/star/rendering/ColorProfile.idl>
+#include <com/sun/star/rendering/ColorComponent.idl>
+#include <com/sun/star/rendering/RGBColor.idl>
+#include <com/sun/star/rendering/ARGBColor.idl>
module com { module sun { module star { module rendering {
-/// Shorthand for the device-dependent color components, and easier to read
-published typedef double ColorComponent;
-published typedef sequence<ColorComponent> Color;
-
-//=============================================================================
-
-/// RGB color triplet
-published struct RGBColor
-{
- /// Red component. Valid range is [0,1.0]
- ColorComponent Red;
- /// Green component. Valid range is [0,1.0]
- ColorComponent Green;
- /// Blue component. Valid range is [0,1.0]
- ColorComponent Blue;
-};
-
-//=============================================================================
-
-/// ARGB color quad
-published struct ARGBColor
-{
- /** Alpha component.<p>
-
- Valid range is [0,1.0], with 0.0 denoting fully transparent,
- and 1.0 fully opaque.
- */
- ColorComponent Alpha;
- /// Red component. Valid range is [0,1.0]
- ColorComponent Red;
- /// Green component. Valid range is [0,1.0]
- ColorComponent Green;
- /// Blue component. Valid range is [0,1.0]
- ColorComponent Blue;
-};
-
-//=============================================================================
-
/** Information how to interpret certain color data.<p>
This interface encapsulates all information that is necessary to