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
35 BrushTypeSolidColor
= 0,
36 BrushTypeHatchFill
= 1,
37 BrushTypeTextureFill
= 2,
38 BrushTypePathGradient
= 3,
39 BrushTypeLinearGradient
= 4
44 FillModeAlternate
= 0,
53 LineCapTriangle
= 0x03,
55 LineCapNoAnchor
= 0x10,
56 LineCapSquareAnchor
= 0x11,
57 LineCapRoundAnchor
= 0x12,
58 LineCapDiamondAnchor
= 0x13,
59 LineCapArrowAnchor
= 0x14,
62 LineCapAnchorMask
= 0xf0
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
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 */