2 // System.Drawing.Imaging.EmfPlusRecordType.cs
4 // (C) 2002 Ximian, Inc. http://www.ximian.com
5 // Author: Dennis Hayes (dennish@raytek.com)
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:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
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.
31 namespace System.Drawing.Imaging
34 public enum EmfPlusRecordType {
35 BeginContainer = 16423,
36 BeginContainerNoParams = 16424,
41 DrawClosedCurve = 16407,
43 DrawDriverString = 16438,
46 DrawImagePoints = 16411,
60 EmfColorCorrectPalette = 111,
61 EmfColorMatchToTargetW = 121,
62 EmfCreateBrushIndirect = 39,
63 EmfCreateColorSpace = 99,
64 EmfCreateColorSpaceW = 122,
65 EmfCreateDibPatternBrushPt = 94,
66 EmfCreateMonoBrush = 93,
67 EmfCreatePalette = 49,
69 EmfDeleteColorSpace = 101,
75 EmfExcludeClipRect = 29,
76 EmfExtCreateFontIndirect = 82,
80 EmfExtSelectClipRgn = 75,
86 EmfForceUfiMapping = 109,
89 EmfGlsBoundedRecord = 103,
91 EmfGradientFill = 118,
93 EmfIntersectClipRect = 30,
99 EmfModifyWorldTransform = 36,
101 EmfNamedEscpae = 110,
102 EmfOffsetClipRgn = 26,
105 EmfPixelFormat = 104,
107 EmfPlusRecordBase = 16384,
109 EmfPolyBezier16 = 85,
111 EmfPolyBezierTo16 = 88,
117 EmfPolyPolygon16 = 91,
121 EmfPolyPolyline16 = 90,
122 EmfPolyTextOutA = 96,
123 EmfPolyTextOutW = 97,
124 EmfRealizePalette = 52,
127 EmfReserved117 = 117,
128 EmfResizePalette = 51,
133 EmfScaleViewportExtEx = 31,
134 EmfScaleWindowExtEx = 32,
135 EmfSelectClipPath = 67,
136 EmfSelectObject = 37,
137 EmfSelectPalette = 48,
138 EmfSetArcDirection = 57,
141 EmfSetBrushOrgEx = 13,
142 EmfSetColorAdjustment = 23,
143 EmfSetColorSpace = 100,
144 EmfSetDIBitsToDevice = 80,
146 EmfSetIcmProfileA = 112,
147 EmfSetIcmProfileW = 113,
149 EmfSetLinkedUfis = 119,
151 EmfSetMapperFlags = 16,
153 EmfSetMiterLimit = 58,
154 EmfSetPaletteEntries = 50,
156 EmfSetPolyFillMode = 19,
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,
170 EmfStretchDIBits = 81,
171 EmfStrokeAndFillPath = 63,
173 EmfTransparentBlt = 116,
175 EndContainer = 16425,
177 FillClosedCurve = 16406,
189 MultiFormatEnd = 16391,
190 MultiFormatSection = 16390,
191 MultiFormatStart = 16389,
192 MultiplyWorldTransform = 16428,
196 ResetWorldTransform = 16427,
198 RotateWorldTransform = 16431,
200 ScaleWorldTransform = 16430,
201 SetAntiAliasMode = 16414,
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,
215 TranslateWorldTransform = 16429,
216 WmfAnimatePalette = 66614,
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,
236 WmfOffsetCilpRgn = 66080,
237 WmfOffsetViewportOrg = 66065,
238 WmfOffsetWindowOrg = 66063,
239 WmfPaintRegion = 65835,
244 WmfPolyPolygon = 66872,
245 WmfRealizePalette = 65589,
246 WmfRecordBase = 65536,
247 WmfRectangle = 66587,
248 WmfResizePalette = 65849,
249 WmfRestoreDC = 65831,
250 WmfRoundRect = 67100,
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,
265 WmfSetPolyFillMode = 65798,
266 WmfSetRelAbs = 65797,
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,
281 EmfPolylineTo16 = 89,
282 WmfDibStretchBlt = 68417,
285 WmfExcludeClipRect = 66581,
286 WmfExtFloodFill = 66888,
287 WmfExtTextOut = 68146