gdiplus: Added GdipGetPointCount.
[wine/dibdrv.git] / include / gdiplusenums.h
blob1d00188d2d28744ee09197249587fe70e876054b
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 enum Unit
24 UnitWorld = 0,
25 UnitDisplay = 1,
26 UnitPixel = 2,
27 UnitPoint = 3,
28 UnitInch = 4,
29 UnitDocument = 5,
30 UnitMillimeter = 6
33 enum BrushType
35 BrushTypeSolidColor = 0,
36 BrushTypeHatchFill = 1,
37 BrushTypeTextureFill = 2,
38 BrushTypePathGradient = 3,
39 BrushTypeLinearGradient = 4
42 enum FillMode
44 FillModeAlternate = 0,
45 FillModeWinding = 1
48 enum LineCap
50 LineCapFlat = 0x00,
51 LineCapSquare = 0x01,
52 LineCapRound = 0x02,
53 LineCapTriangle = 0x03,
55 LineCapNoAnchor = 0x10,
56 LineCapSquareAnchor = 0x11,
57 LineCapRoundAnchor = 0x12,
58 LineCapDiamondAnchor = 0x13,
59 LineCapArrowAnchor = 0x14,
61 LineCapCustom = 0xff,
62 LineCapAnchorMask = 0xf0
65 enum PathPointType{
66 PathPointTypeStart = 0, /* start of a figure */
67 PathPointTypeLine = 1,
68 PathPointTypeBezier = 3,
69 PathPointTypePathTypeMask = 7,
70 PathPointTypePathDashMode = 16, /* not used */
71 PathPointTypePathMarker = 32,
72 PathPointTypeCloseSubpath = 128, /* end of a closed figure */
73 PathPointTypeBezier3 = 3
76 #ifndef __cplusplus
78 typedef enum Unit Unit;
79 typedef enum BrushType BrushType;
80 typedef enum FillMode FillMode;
81 typedef enum LineCap LineCap;
82 typedef enum PathPointType PathPointType;
84 #endif /* end of c typedefs */
86 #endif