2 // System.Drawing.Imaging.Metafile.cs
4 // (C) 2002 Ximian, Inc. http://www.ximian.com
5 // Author: Christian Meyer
6 // eMail: Christian.Meyer@cs.tum.edu
7 // Dennis Hayes (dennish@raytek.com)
11 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
13 // Permission is hereby granted, free of charge, to any person obtaining
14 // a copy of this software and associated documentation files (the
15 // "Software"), to deal in the Software without restriction, including
16 // without limitation the rights to use, copy, modify, merge, publish,
17 // distribute, sublicense, and/or sell copies of the Software, and to
18 // permit persons to whom the Software is furnished to do so, subject to
19 // the following conditions:
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34 using System.Reflection;
35 using System.ComponentModel;
36 using System.Runtime.InteropServices;
38 namespace System.Drawing.Imaging {
42 [Editor ("System.Drawing.Design.MetafileEditor, " + Consts.AssemblySystem_Drawing_Design, typeof (System.Drawing.Design.UITypeEditor))]
43 public sealed class Metafile : Image {
47 public Metafile (Stream stream)
49 throw new NotImplementedException ();
53 public Metafile (string filename)
55 throw new NotImplementedException ();
59 public Metafile (IntPtr henhmetafile, bool deleteEmf)
61 throw new NotImplementedException ();
65 public Metafile (IntPtr referenceHtc, EmfType emfType)
67 throw new NotImplementedException ();
71 public Metafile (IntPtr referenceHtc, Rectangle frameRect)
73 throw new NotImplementedException ();
77 public Metafile (IntPtr referenceHtc, RectangleF frameRect)
79 throw new NotImplementedException ();
83 public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
85 throw new NotImplementedException ();
89 public Metafile (Stream stream, IntPtr referenceHtc)
91 throw new NotImplementedException ();
95 public Metafile (String fileName, IntPtr referenceHtc)
97 throw new NotImplementedException ();
101 public Metafile (IntPtr referenceHdc, EmfType emfType, string description)
103 throw new NotImplementedException ();
107 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
109 throw new NotImplementedException ();
113 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
115 throw new NotImplementedException ();
119 public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader, bool deleteWmf)
121 throw new NotImplementedException ();
125 public Metafile (Stream stream, IntPtr referenceHdc, EmfType type)
127 throw new NotImplementedException ();
131 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect)
133 throw new NotImplementedException ();
137 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect)
139 throw new NotImplementedException ();
143 public Metafile (string fileName, IntPtr referenceHdc, EmfType type)
145 throw new NotImplementedException ();
149 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect)
151 throw new NotImplementedException ();
155 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect)
157 throw new NotImplementedException ();
161 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
163 throw new NotImplementedException ();
167 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
169 throw new NotImplementedException ();
173 public Metafile (Stream stream, IntPtr referenceHtc, EmfType type, string description)
175 throw new NotImplementedException ();
179 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
181 throw new NotImplementedException ();
185 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
187 throw new NotImplementedException ();
191 public Metafile (string fileName, IntPtr referenceHdc, EmfType type, string description)
193 throw new NotImplementedException ();
197 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
199 throw new NotImplementedException ();
203 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
205 throw new NotImplementedException ();
209 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
211 throw new NotImplementedException ();
215 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
217 throw new NotImplementedException ();
221 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
223 throw new NotImplementedException ();
227 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
229 throw new NotImplementedException ();
233 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
235 throw new NotImplementedException ();
239 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, string description)
241 throw new NotImplementedException ();
245 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
247 throw new NotImplementedException ();
251 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, string description)
253 throw new NotImplementedException ();
257 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
260 throw new NotImplementedException ();
264 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
267 throw new NotImplementedException ();
271 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
274 throw new NotImplementedException ();
278 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
281 throw new NotImplementedException ();
286 public IntPtr GetHenhmetafile()
288 throw new NotImplementedException ();
291 public MetafileHeader GetMetafileHeader()
293 return GetMetafileHeader (GetHenhmetafile () );
297 public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile)
299 throw new NotImplementedException ();
303 public static MetafileHeader GetMetafileHeader(Stream stream)
305 throw new NotImplementedException ();
309 public static MetafileHeader GetMetafileHeader(string fileName)
311 throw new NotImplementedException ();
315 public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile, WmfPlaceableFileHeader wmfHeader)
317 throw new NotImplementedException ();
321 public void PlayRecord(EmfPlusRecordType recordType, int flags, int dataSize, byte[] datawmfHeader)
323 throw new NotImplementedException ();