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))]
46 public sealed class Metafile : Image {
50 public Metafile (Stream stream)
52 throw new NotImplementedException ();
56 public Metafile (string filename)
58 throw new NotImplementedException ();
64 public Metafile (IntPtr henhmetafile, bool deleteEmf)
66 throw new NotImplementedException ();
70 public Metafile (IntPtr referenceHtc, EmfType emfType)
72 throw new NotImplementedException ();
76 public Metafile (IntPtr referenceHtc, Rectangle frameRect)
78 throw new NotImplementedException ();
82 public Metafile (IntPtr referenceHtc, RectangleF frameRect)
84 throw new NotImplementedException ();
88 public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
90 throw new NotImplementedException ();
94 public Metafile (Stream stream, IntPtr referenceHtc)
96 throw new NotImplementedException ();
100 public Metafile (String fileName, IntPtr referenceHtc)
102 throw new NotImplementedException ();
106 public Metafile (IntPtr referenceHdc, EmfType emfType, string description)
108 throw new NotImplementedException ();
112 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
114 throw new NotImplementedException ();
118 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
120 throw new NotImplementedException ();
124 public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader, bool deleteWmf)
126 throw new NotImplementedException ();
130 public Metafile (Stream stream, IntPtr referenceHdc, EmfType type)
132 throw new NotImplementedException ();
136 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect)
138 throw new NotImplementedException ();
142 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect)
144 throw new NotImplementedException ();
148 public Metafile (string fileName, IntPtr referenceHdc, EmfType type)
150 throw new NotImplementedException ();
154 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect)
156 throw new NotImplementedException ();
160 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect)
162 throw new NotImplementedException ();
166 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
168 throw new NotImplementedException ();
172 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
174 throw new NotImplementedException ();
178 public Metafile (Stream stream, IntPtr referenceHtc, EmfType type, string description)
180 throw new NotImplementedException ();
184 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
186 throw new NotImplementedException ();
190 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
192 throw new NotImplementedException ();
196 public Metafile (string fileName, IntPtr referenceHdc, EmfType type, string description)
198 throw new NotImplementedException ();
202 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
204 throw new NotImplementedException ();
208 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
210 throw new NotImplementedException ();
214 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
216 throw new NotImplementedException ();
220 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
222 throw new NotImplementedException ();
226 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
228 throw new NotImplementedException ();
232 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
234 throw new NotImplementedException ();
238 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
240 throw new NotImplementedException ();
244 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, string description)
246 throw new NotImplementedException ();
250 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
252 throw new NotImplementedException ();
256 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, string description)
258 throw new NotImplementedException ();
262 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
265 throw new NotImplementedException ();
269 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
272 throw new NotImplementedException ();
276 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
279 throw new NotImplementedException ();
283 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
286 throw new NotImplementedException ();
291 public IntPtr GetHenhmetafile()
293 throw new NotImplementedException ();
298 public MetafileHeader GetMetafileHeader()
300 throw new NotFiniteNumberException();
305 public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile)
307 throw new NotImplementedException ();
311 public static MetafileHeader GetMetafileHeader(Stream stream)
313 throw new NotImplementedException ();
317 public static MetafileHeader GetMetafileHeader(string fileName)
319 throw new NotImplementedException ();
324 public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile, WmfPlaceableFileHeader wmfHeader)
326 throw new NotImplementedException ();
330 public void PlayRecord(EmfPlusRecordType recordType, int flags, int dataSize, byte[] datawmfHeader)
332 throw new NotImplementedException ();
337 protected override void InternalSave (javax.imageio.stream.ImageOutputStream output, Guid clsid) {
338 throw new NotImplementedException ();
342 protected override PixelFormat InternalPixelFormat {
344 throw new NotImplementedException ();
349 protected override java.awt.Image[] CloneNativeObjects(java.awt.Image[] src) {
350 throw new NotImplementedException ();
355 public override object Clone() {
356 throw new NotImplementedException ();