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 #if SYSTEM_DRAWING_DESIGN_SUPPORT
43 [Editor ("System.Drawing.Design.MetafileEditor, " + Consts.AssemblySystem_Drawing_Design, typeof (System.Drawing.Design.UITypeEditor))]
45 public sealed class Metafile : Image {
48 public Metafile (Stream stream)
50 throw new NotImplementedException ();
53 public Metafile (string filename)
55 throw new NotImplementedException ();
59 public Metafile (IntPtr henhmetafile, bool deleteEmf)
61 throw new NotImplementedException ();
64 public Metafile (IntPtr referenceHtc, EmfType emfType)
66 throw new NotImplementedException ();
69 public Metafile (IntPtr referenceHtc, Rectangle frameRect)
71 throw new NotImplementedException ();
74 public Metafile (IntPtr referenceHtc, RectangleF frameRect)
76 throw new NotImplementedException ();
79 public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
81 throw new NotImplementedException ();
84 public Metafile (Stream stream, IntPtr referenceHtc)
86 throw new NotImplementedException ();
89 public Metafile (String fileName, IntPtr referenceHtc)
91 throw new NotImplementedException ();
94 public Metafile (IntPtr referenceHdc, EmfType emfType, string description)
96 throw new NotImplementedException ();
99 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
101 throw new NotImplementedException ();
104 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
106 throw new NotImplementedException ();
109 public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader, bool deleteWmf)
111 throw new NotImplementedException ();
114 public Metafile (Stream stream, IntPtr referenceHdc, EmfType type)
116 throw new NotImplementedException ();
119 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect)
121 throw new NotImplementedException ();
124 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect)
126 throw new NotImplementedException ();
129 public Metafile (string fileName, IntPtr referenceHdc, EmfType type)
131 throw new NotImplementedException ();
134 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect)
136 throw new NotImplementedException ();
139 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect)
141 throw new NotImplementedException ();
144 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
146 throw new NotImplementedException ();
149 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
151 throw new NotImplementedException ();
154 public Metafile (Stream stream, IntPtr referenceHtc, EmfType type, string description)
156 throw new NotImplementedException ();
159 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
161 throw new NotImplementedException ();
164 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
166 throw new NotImplementedException ();
169 public Metafile (string fileName, IntPtr referenceHdc, EmfType type, string description)
171 throw new NotImplementedException ();
174 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
176 throw new NotImplementedException ();
179 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
181 throw new NotImplementedException ();
184 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
186 throw new NotImplementedException ();
189 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
191 throw new NotImplementedException ();
194 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
196 throw new NotImplementedException ();
199 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
201 throw new NotImplementedException ();
204 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
206 throw new NotImplementedException ();
209 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, string description)
211 throw new NotImplementedException ();
214 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
216 throw new NotImplementedException ();
219 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, string description)
221 throw new NotImplementedException ();
224 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
227 throw new NotImplementedException ();
230 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
233 throw new NotImplementedException ();
236 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
239 throw new NotImplementedException ();
242 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
245 throw new NotImplementedException ();
249 public IntPtr GetHenhmetafile()
251 throw new NotImplementedException ();
255 public MetafileHeader GetMetafileHeader()
257 throw new NotFiniteNumberException();
261 public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile)
263 throw new NotImplementedException ();
266 public static MetafileHeader GetMetafileHeader(Stream stream)
268 throw new NotImplementedException ();
271 public static MetafileHeader GetMetafileHeader(string fileName)
273 throw new NotImplementedException ();
277 public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile, WmfPlaceableFileHeader wmfHeader)
279 throw new NotImplementedException ();
282 public void PlayRecord(EmfPlusRecordType recordType, int flags, int dataSize, byte[] datawmfHeader)
284 throw new NotImplementedException ();
288 protected override void InternalSave (javax.imageio.stream.ImageOutputStream output, Guid clsid) {
\r
289 throw new NotImplementedException ();
\r
292 protected override PixelFormat InternalPixelFormat {
\r
294 throw new NotImplementedException ();
\r
298 protected override java.awt.Image[] CloneNativeObjects(java.awt.Image[] src) {
\r
299 throw new NotImplementedException ();
\r