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