1*d1dc9aaeSAriel Constenla-Haile/**************************************************************
2*d1dc9aaeSAriel Constenla-Haile *
3*d1dc9aaeSAriel Constenla-Haile * Licensed to the Apache Software Foundation (ASF) under one
4*d1dc9aaeSAriel Constenla-Haile * or more contributor license agreements.  See the NOTICE file
5*d1dc9aaeSAriel Constenla-Haile * distributed with this work for additional information
6*d1dc9aaeSAriel Constenla-Haile * regarding copyright ownership.  The ASF licenses this file
7*d1dc9aaeSAriel Constenla-Haile * to you under the Apache License, Version 2.0 (the
8*d1dc9aaeSAriel Constenla-Haile * "License"); you may not use this file except in compliance
9*d1dc9aaeSAriel Constenla-Haile * with the License.  You may obtain a copy of the License at
10*d1dc9aaeSAriel Constenla-Haile *
11*d1dc9aaeSAriel Constenla-Haile *   http://www.apache.org/licenses/LICENSE-2.0
12*d1dc9aaeSAriel Constenla-Haile *
13*d1dc9aaeSAriel Constenla-Haile * Unless required by applicable law or agreed to in writing,
14*d1dc9aaeSAriel Constenla-Haile * software distributed under the License is distributed on an
15*d1dc9aaeSAriel Constenla-Haile * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1dc9aaeSAriel Constenla-Haile * KIND, either express or implied.  See the License for the
17*d1dc9aaeSAriel Constenla-Haile * specific language governing permissions and limitations
18*d1dc9aaeSAriel Constenla-Haile * under the License.
19*d1dc9aaeSAriel Constenla-Haile *
20*d1dc9aaeSAriel Constenla-Haile *************************************************************/
21*d1dc9aaeSAriel Constenla-Haile
22*d1dc9aaeSAriel Constenla-Haile#ifndef __com_sun_star_awt_ImageDrawMode_idl__
23*d1dc9aaeSAriel Constenla-Haile#define __com_sun_star_awt_ImageDrawMode_idl__
24*d1dc9aaeSAriel Constenla-Haile
25*d1dc9aaeSAriel Constenla-Hailemodule com { module sun { module star { module awt {
26*d1dc9aaeSAriel Constenla-Haile
27*d1dc9aaeSAriel Constenla-Haile/** defines modes how an image is drawn onto a device
28*d1dc9aaeSAriel Constenla-Haile
29*d1dc9aaeSAriel Constenla-Haile    @see <member scope="com::sun::star::awt">XGraphics2::drawImage</member>
30*d1dc9aaeSAriel Constenla-Haile    @since Apache OpenOffice 4.0
31*d1dc9aaeSAriel Constenla-Haile */
32*d1dc9aaeSAriel Constenla-Haileconstants ImageDrawMode
33*d1dc9aaeSAriel Constenla-Haile{
34*d1dc9aaeSAriel Constenla-Haile    /** the image is drawn as is, without any color transformation.
35*d1dc9aaeSAriel Constenla-Haile     */
36*d1dc9aaeSAriel Constenla-Haile    const short NONE = 0x0000;
37*d1dc9aaeSAriel Constenla-Haile
38*d1dc9aaeSAriel Constenla-Haile    /** the image is drawn as if it represented a feature whose state is disabled.
39*d1dc9aaeSAriel Constenla-Haile     */
40*d1dc9aaeSAriel Constenla-Haile    const short DISABLE = 0x0001;
41*d1dc9aaeSAriel Constenla-Haile
42*d1dc9aaeSAriel Constenla-Haile    /** the image is drawn as being highlighted.
43*d1dc9aaeSAriel Constenla-Haile        See <member scope="com::sun::star::awt">XStyleSettings::HighlightColor</member>.
44*d1dc9aaeSAriel Constenla-Haile     */
45*d1dc9aaeSAriel Constenla-Haile    const short HIGHLIGHT = 0x0002;
46*d1dc9aaeSAriel Constenla-Haile
47*d1dc9aaeSAriel Constenla-Haile    /** the image is drawn as being deactivated.
48*d1dc9aaeSAriel Constenla-Haile        See <member scope="com::sun::star::awt">XStyleSettings::DeactiveColor</member>.
49*d1dc9aaeSAriel Constenla-Haile     */
50*d1dc9aaeSAriel Constenla-Haile    const short DEACTIVE = 0x0004;
51*d1dc9aaeSAriel Constenla-Haile
52*d1dc9aaeSAriel Constenla-Haile    /** the image is drawn semi-transparent.
53*d1dc9aaeSAriel Constenla-Haile     */
54*d1dc9aaeSAriel Constenla-Haile    const short SEMITRANSPARENT = 0x0010;
55*d1dc9aaeSAriel Constenla-Haile};
56*d1dc9aaeSAriel Constenla-Haile
57*d1dc9aaeSAriel Constenla-Haile}; }; }; };
58*d1dc9aaeSAriel Constenla-Haile
59*d1dc9aaeSAriel Constenla-Haile#endif
60