**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Drawing / System.Drawing.Imaging / EmfPlusRecordType.cs
blobf068a4afcb2d52120a8c0ce790fab74790465255
1 //
2 // System.Drawing.Imaging.EmfPlusRecordType.cs
3 //
4 // (C) 2002 Ximian, Inc. http://www.ximian.com
5 // Author: Dennis Hayes (dennish@raytek.com)
6 //
8 //
9 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 //
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 //
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 using System;
31 namespace System.Drawing.Imaging
33 [Serializable]
34 public enum EmfPlusRecordType {
35 BeginContainer = 16423,
36 BeginContainerNoParams = 16424,
37 Clear = 16393,
38 Comment = 16387,
39 DrawArc = 16402,
40 DrawBeziers = 16409,
41 DrawClosedCurve = 16407,
42 DrawCurve = 16408,
43 DrawDriverString = 16438,
44 DrawEllipse = 16399,
45 DrawImage = 16410,
46 DrawImagePoints = 16411,
47 DrawLines = 16397,
48 DrawPath = 16405,
49 DrawPie = 16401,
50 DrawRects = 16395,
51 DrawString = 16412,
52 EmfAbortPath = 68,
53 EmfAlphaBlend = 114,
54 EmfAngleArc = 41,
55 EmfArcTo = 55,
56 EmfBeginPath = 59,
57 EmfBitBlt = 76,
58 EmfChord = 46,
59 EmfCloseFigure = 61,
60 EmfColorCorrectPalette = 111,
61 EmfColorMatchToTargetW = 121,
62 EmfCreateBrushIndirect = 39,
63 EmfCreateColorSpace = 99,
64 EmfCreateColorSpaceW = 122,
65 EmfCreateDibPatternBrushPt = 94,
66 EmfCreateMonoBrush = 93,
67 EmfCreatePalette = 49,
68 EmfCreatePen = 38,
69 EmfDeleteColorSpace = 101,
70 EmfDeleteObject = 40,
71 EmfDrawEscape = 105,
72 EmfEllipse = 42,
73 EmfEndPath = 60,
74 EmfEof = 14,
75 EmfExcludeClipRect = 29,
76 EmfExtCreateFontIndirect = 82,
77 EmfExtCreatePen = 95,
78 EmfExtEscape = 106,
79 EmfExtFloodFill = 53,
80 EmfExtSelectClipRgn = 75,
81 EmfExtTextOutA = 83,
82 EmfExtTextOutW = 84,
83 EmfFillPath = 62,
84 EmfFillRgn = 71,
85 EmfFlattenPath = 65,
86 EmfForceUfiMapping = 109,
87 EmfFrameRgn = 72,
88 EmfGdiComment = 70,
89 EmfGlsBoundedRecord = 103,
90 EmfGlsRecord = 102,
91 EmfGradientFill = 118,
92 EmfHeader = 1,
93 EmfIntersectClipRect = 30,
94 EmfInvertRgn = 73,
95 EmfLineTo = 54,
96 EmfMaskBlt = 78,
97 EmfMax = 122,
98 EmfMin = 1,
99 EmfModifyWorldTransform = 36,
100 EmfMoveToEx = 27,
101 EmfNamedEscpae = 110,
102 EmfOffsetClipRgn = 26,
103 EmfPaintRgn = 74,
104 EmfPie = 47,
105 EmfPixelFormat = 104,
106 EmfPlgBlt = 79,
107 EmfPlusRecordBase = 16384,
108 EmfPolyBezier = 2,
109 EmfPolyBezier16 = 85,
110 EmfPolyBezierTo = 5,
111 EmfPolyBezierTo16 = 88,
112 EmfPolyDraw = 56,
113 EmfPolyDraw16 = 92,
114 EmfPolygon = 3,
115 EmfPolygon16 = 86,
116 EmfPolyline = 4,
117 EmfPolyPolygon16 = 91,
118 EmfPolyPolyline = 7,
119 EmfPolyline16 = 87,
120 EmfPolyPolygon = 8,
121 EmfPolyPolyline16 = 90,
122 EmfPolyTextOutA = 96,
123 EmfPolyTextOutW = 97,
124 EmfRealizePalette = 52,
125 EmfRectangle = 43,
126 EmfReserved069 = 69,
127 EmfReserved117 = 117,
128 EmfResizePalette = 51,
129 EmfRestoreDC = 34,
130 EmfRoundArc = 45,
131 EmfRoundRect = 44,
132 EmfSaveDC = 33,
133 EmfScaleViewportExtEx = 31,
134 EmfScaleWindowExtEx = 32,
135 EmfSelectClipPath = 67,
136 EmfSelectObject = 37,
137 EmfSelectPalette = 48,
138 EmfSetArcDirection = 57,
139 EmfSetBkColor = 25,
140 EmfSetBkMode = 18,
141 EmfSetBrushOrgEx = 13,
142 EmfSetColorAdjustment = 23,
143 EmfSetColorSpace = 100,
144 EmfSetDIBitsToDevice = 80,
145 EmfSetIcmMode = 98,
146 EmfSetIcmProfileA = 112,
147 EmfSetIcmProfileW = 113,
148 EmfSetLayout = 115,
149 EmfSetLinkedUfis = 119,
150 EmfSetMapMode = 17,
151 EmfSetMapperFlags = 16,
152 EmfSetMetaRgn = 28,
153 EmfSetMiterLimit = 58,
154 EmfSetPaletteEntries = 50,
155 EmfSetPixelV = 15,
156 EmfSetPolyFillMode = 19,
157 EmfSetROP2 = 20,
158 EmfSetStretchBltMode = 21,
159 EmfSetTextAlign = 22,
160 EmfSetTextColor = 24,
161 EmfSetTextJustification =120 ,
162 EmfSetViewportExtEx = 11,
163 EmfSetViewportOrgEx = 12,
164 EmfSetWindowExtEx = 9,
165 EmfSetWindowOrgEx = 10,
166 EmfSetWorldTransform = 35,
167 EmfSmallTextOut = 108,
168 EmfStartDoc = 107,
169 EmfStretchBlt = 77,
170 EmfStretchDIBits = 81,
171 EmfStrokeAndFillPath = 63,
172 EmfStrokePath = 64,
173 EmfTransparentBlt = 116,
174 EmfWidenPath = 66,
175 EndContainer = 16425,
176 EndOfFile = 16386,
177 FillClosedCurve = 16406,
178 FillEllipse = 16398,
179 FillPath = 16404,
180 FillPie = 16400,
181 FillPolygon = 16396,
182 FillRects = 16394,
183 FillRegion = 16403,
184 GetDC = 16388,
185 Header = 16385,
186 Invalid = 16384,
187 Max = 16438,
188 Min = 16385,
189 MultiFormatEnd = 16391,
190 MultiFormatSection = 16390,
191 MultiFormatStart = 16389,
192 MultiplyWorldTransform = 16428,
193 Object = 16392,
194 OffsetClip = 16437,
195 ResetClip = 16433,
196 ResetWorldTransform = 16427,
197 Restore = 16422,
198 RotateWorldTransform = 16431,
199 Save = 16421,
200 ScaleWorldTransform = 16430,
201 SetAntiAliasMode = 16414,
202 SetClipPath = 16435,
203 SetClipRect = 16434,
204 SetClipRegion = 16436,
205 SetCompositingMode = 16419,
206 SetCompositingQuality = 16420,
207 SetInterpolationMode = 16417,
208 SetPageTransform = 16432,
209 SetPixelOffsetMode = 16418,
210 SetRenderingOrigin = 16413,
211 SetTextContrast = 16416,
212 SetTextRenderingHint = 16415,
213 SetWorldTransform = 16426,
214 Total = 16439,
215 TranslateWorldTransform = 16429,
216 WmfAnimatePalette = 66614,
217 WmfArc = 67607,
218 WmfBitBlt = 67874,
219 WmfChord = 67632,
220 WmfCreateBrushIndirect = 66300,
221 WmfCreateFontIndirect = 66299,
222 WmfCreatePalette = 65783,
223 WmfCreatePatternBrush = 66041,
224 WmfCreatePenIndirect = 66298,
225 WmfCreateRegion = 67327,
226 WmfDeleteObject = 66032,
227 WmfDibBitBlt = 67904,
228 WmfDibCreatePatternBrush = 65858,
229 WmfFillRegion = 66088,
230 WmfFloodFill = 66585,
231 WmfFrameRegion = 66601,
232 WmfIntersectClipRect = 66582,
233 WmfInvertRegion = 65834,
234 WmfLineTo = 66067,
235 WmfMoveTo = 66068,
236 WmfOffsetCilpRgn = 66080,
237 WmfOffsetViewportOrg = 66065,
238 WmfOffsetWindowOrg = 66063,
239 WmfPaintRegion = 65835,
240 WmfPatBlt = 67101,
241 WmfPie = 67610,
242 WmfPolygon = 66340,
243 WmfPolyline = 66341,
244 WmfPolyPolygon = 66872,
245 WmfRealizePalette = 65589,
246 WmfRecordBase = 65536,
247 WmfRectangle = 66587,
248 WmfResizePalette = 65849,
249 WmfRestoreDC = 65831,
250 WmfRoundRect = 67100,
251 WmfSaveDC = 65566,
252 WmfScaleViewportExt = 66578,
253 WmfScaleWindowExt = 66576,
254 WmfSelectClipRegion = 65836,
255 WmfSelectObject = 65837,
256 WmfSelectPalette = 66100,
257 WmfSetBkColor = 66049,
258 WmfSetBkMode = 65794,
259 WmfSetDibToDev = 68915,
260 WmfSetLayout = 65865,
261 WmfSetMapMode = 65795,
262 WmfSetMapperFlags = 66097,
263 WmfSetPalEntries = 65591,
264 WmfSetPixel = 66591,
265 WmfSetPolyFillMode = 65798,
266 WmfSetRelAbs = 65797,
267 WmfSetROP2 = 65796,
268 WmfSetStretchBltMode = 65799,
269 WmfSetTextAlign = 65838,
270 WmfSetTextCharExtra = 65800,
271 WmfSetTextColor = 66057,
272 WmfSetTextJustification = 66058,
273 WmfSetViewportExt = 66062,
274 WmfSetViewportOrg = 66061,
275 WmfSetWindowExt = 66060,
276 WmfSetWindowOrg = 66059,
277 WmfStretchBlt = 68387,
278 WmfStretchDib = 69443,
279 WmfTextOut = 66849,
280 EmfPolyLineTo = 6,
281 EmfPolylineTo16 = 89,
282 WmfDibStretchBlt = 68417,
283 WmfEllipse = 66584,
284 WmfEscape = 67110,
285 WmfExcludeClipRect = 66581,
286 WmfExtFloodFill = 66888,
287 WmfExtTextOut = 68146