wined3d: Offscreen rendering from foreign threads.
[wine/dibdrv.git] / include / gdiplusenums.h
blob16ded0dd9b8e575170cdea5980ef8030d4ca8991
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 #ifndef __cplusplus
67 typedef enum Unit Unit;
68 typedef enum BrushType BrushType;
69 typedef enum FillMode FillMode;
70 typedef enum LineCap LineCap;
72 #endif /* end of c typedefs */
74 #endif