166220049SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
366220049SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
466220049SAndrew Rist * or more contributor license agreements.  See the NOTICE file
566220049SAndrew Rist * distributed with this work for additional information
666220049SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
766220049SAndrew Rist * to you under the Apache License, Version 2.0 (the
866220049SAndrew Rist * "License"); you may not use this file except in compliance
966220049SAndrew Rist * with the License.  You may obtain a copy of the License at
1066220049SAndrew Rist *
1166220049SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1266220049SAndrew Rist *
1366220049SAndrew Rist * Unless required by applicable law or agreed to in writing,
1466220049SAndrew Rist * software distributed under the License is distributed on an
1566220049SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1666220049SAndrew Rist * KIND, either express or implied.  See the License for the
1766220049SAndrew Rist * specific language governing permissions and limitations
1866220049SAndrew Rist * under the License.
1966220049SAndrew Rist *
2066220049SAndrew Rist *************************************************************/
2166220049SAndrew Rist
2266220049SAndrew Rist
23*b63233d8Sdamjan#ifndef __com_sun_star_rendering_RGBColor_idl__
24*b63233d8Sdamjan#define __com_sun_star_rendering_RGBColor_idl__
25cdf0e10cSrcweir
26*b63233d8Sdamjan#ifndef __com_sun_star_rendering_ColorComponent_idl__
27*b63233d8Sdamjan#include <com/sun/star/rendering/ColorComponent.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir
30*b63233d8Sdamjanmodule com { module sun { module star { module rendering {
31cdf0e10cSrcweir
32*b63233d8Sdamjan/// RGB color triplet
33*b63233d8Sdamjanpublished struct RGBColor
34*b63233d8Sdamjan{
35*b63233d8Sdamjan    /// Red component. Valid range is [0,1.0]
36*b63233d8Sdamjan    ColorComponent Red;
37*b63233d8Sdamjan    /// Green component. Valid range is [0,1.0]
38*b63233d8Sdamjan    ColorComponent Green;
39*b63233d8Sdamjan    /// Blue component. Valid range is [0,1.0]
40*b63233d8Sdamjan    ColorComponent Blue;
41*b63233d8Sdamjan};
42cdf0e10cSrcweir
43*b63233d8Sdamjan}; }; }; };
44cdf0e10cSrcweir
45*b63233d8Sdamjan#endif
46