advapi32/service: Set correct error when the service doesn't exist.
[wine.git] / include / gdiplusenums.h
blobac9de4b32d629c06bb1139e66790512dbce1f318
1 /*
2 * Copyright (C) 2007 Google (Evan Stade)
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _GDIPLUSENUMS_H
20 #define _GDIPLUSENUMS_H
22 typedef UINT GraphicsState;
24 enum Unit
26 UnitWorld = 0,
27 UnitDisplay = 1,
28 UnitPixel = 2,
29 UnitPoint = 3,
30 UnitInch = 4,
31 UnitDocument = 5,
32 UnitMillimeter = 6
35 enum BrushType
37 BrushTypeSolidColor = 0,
38 BrushTypeHatchFill = 1,
39 BrushTypeTextureFill = 2,
40 BrushTypePathGradient = 3,
41 BrushTypeLinearGradient = 4
44 enum FillMode
46 FillModeAlternate = 0,
47 FillModeWinding = 1
50 enum LineCap
52 LineCapFlat = 0x00,
53 LineCapSquare = 0x01,
54 LineCapRound = 0x02,
55 LineCapTriangle = 0x03,
57 LineCapNoAnchor = 0x10,
58 LineCapSquareAnchor = 0x11,
59 LineCapRoundAnchor = 0x12,
60 LineCapDiamondAnchor = 0x13,
61 LineCapArrowAnchor = 0x14,
63 LineCapCustom = 0xff,
64 LineCapAnchorMask = 0xf0
67 enum PathPointType{
68 PathPointTypeStart = 0, /* start of a figure */
69 PathPointTypeLine = 1,
70 PathPointTypeBezier = 3,
71 PathPointTypePathTypeMask = 7,
72 PathPointTypePathDashMode = 16, /* not used */
73 PathPointTypePathMarker = 32,
74 PathPointTypeCloseSubpath = 128, /* end of a closed figure */
75 PathPointTypeBezier3 = 3
78 enum LineJoin
80 LineJoinMiter = 0,
81 LineJoinBevel = 1,
82 LineJoinRound = 2,
83 LineJoinMiterClipped = 3
86 enum QualityMode
88 QualityModeInvalid = -1,
89 QualityModeDefault = 0,
90 QualityModeLow = 1,
91 QualityModeHigh = 2
94 enum SmoothingMode
96 SmoothingModeInvalid = QualityModeInvalid,
97 SmoothingModeDefault = QualityModeDefault,
98 SmoothingModeHighSpeed = QualityModeLow,
99 SmoothingModeHighQuality = QualityModeHigh,
100 SmoothingModeNone,
101 SmoothingModeAntiAlias
104 enum CompositingQuality
106 CompositingQualityInvalid = QualityModeInvalid,
107 CompositingQualityDefault = QualityModeDefault,
108 CompositingQualityHighSpeed = QualityModeLow,
109 CompositingQualityHighQuality = QualityModeHigh,
110 CompositingQualityGammaCorrected,
111 CompositingQualityAssumeLinear
114 enum InterpolationMode
116 InterpolationModeInvalid = QualityModeInvalid,
117 InterpolationModeDefault = QualityModeDefault,
118 InterpolationModeLowQuality = QualityModeLow,
119 InterpolationModeHighQuality = QualityModeHigh,
120 InterpolationModeBilinear,
121 InterpolationModeBicubic,
122 InterpolationModeNearestNeighbor,
123 InterpolationModeHighQualityBilinear,
124 InterpolationModeHighQualityBicubic
127 enum PixelOffsetMode
129 PixelOffsetModeInvalid = QualityModeInvalid,
130 PixelOffsetModeDefault = QualityModeDefault,
131 PixelOffsetModeHighSpeed = QualityModeLow,
132 PixelOffsetModeHighQuality = QualityModeHigh,
133 PixelOffsetModeNone,
134 PixelOffsetModeHalf
137 enum DashCap
139 DashCapFlat = 0,
140 DashCapRound = 2,
141 DashCapTriangle = 3
144 enum DashStyle
146 DashStyleSolid,
147 DashStyleDash,
148 DashStyleDot,
149 DashStyleDashDot,
150 DashStyleDashDotDot,
151 DashStyleCustom
154 enum MatrixOrder
156 MatrixOrderPrepend = 0,
157 MatrixOrderAppend = 1
160 enum ImageType
162 ImageTypeUnknown,
163 ImageTypeBitmap,
164 ImageTypeMetafile
167 #ifndef __cplusplus
169 typedef enum Unit Unit;
170 typedef enum BrushType BrushType;
171 typedef enum FillMode FillMode;
172 typedef enum LineCap LineCap;
173 typedef enum PathPointType PathPointType;
174 typedef enum LineJoin LineJoin;
175 typedef enum QualityMode QualityMode;
176 typedef enum SmoothingMode SmoothingMode;
177 typedef enum CompositingQuality CompositingQuality;
178 typedef enum InterpolationMode InterpolationMode;
179 typedef enum PixelOffsetMode PixelOffsetMode;
180 typedef enum DashCap DashCap;
181 typedef enum DashStyle DashStyle;
182 typedef enum MatrixOrder MatrixOrder;
183 typedef enum ImageType ImageType;
185 #endif /* end of c typedefs */
187 #endif