2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing.Imaging / Metafile.cs
1 //
2 // System.Drawing.Imaging.Metafile.cs
3 //
4 // Author: Christian Meyer
5 // eMail: Christian.Meyer@cs.tum.edu
6 // Dennis Hayes (dennish@raytek.com)
7 //
8 // (C) 2002 Ximian, Inc.  http://www.ximian.com
9 // Copyright (C) 2004,2006 Novell, Inc (http://www.novell.com)
10 //
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.
29 //
30
31 using System.IO;
32 using System.Reflection;
33 using System.ComponentModel;
34 using System.Runtime.InteropServices;
35
36 namespace System.Drawing.Imaging {
37
38         [MonoTODO ("Metafiles, both WMF and EMF formats, aren't supported.")]
39         [Serializable]
40 #if ONLY_1_1
41         [ComVisible (false)]
42 #endif
43         [Editor ("System.Drawing.Design.MetafileEditor, " + Consts.AssemblySystem_Drawing_Design, typeof (System.Drawing.Design.UITypeEditor))]
44         public sealed class Metafile : Image {
45
46                 // constructors
47
48                 public Metafile (Stream stream) 
49                 {
50                         throw new NotImplementedException ();
51                 }
52
53                 public Metafile (string filename) 
54                 {
55                         throw new NotImplementedException ();
56                 }
57
58                 public Metafile (IntPtr henhmetafile, bool deleteEmf) 
59                 {
60                         throw new NotImplementedException ();
61                 }
62
63                 public Metafile (IntPtr referenceHtc, EmfType emfType) 
64                 {
65                         throw new NotImplementedException ();
66                 }
67
68                 public Metafile (IntPtr referenceHtc, Rectangle frameRect) 
69                 {
70                         throw new NotImplementedException ();
71                 }
72
73                 public Metafile (IntPtr referenceHtc, RectangleF frameRect) 
74                 {
75                         throw new NotImplementedException ();
76                 }
77
78                 public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader) 
79                 {
80                         throw new NotImplementedException ();
81                 }
82
83                 public Metafile (Stream stream, IntPtr referenceHtc) 
84                 {
85                         throw new NotImplementedException ();
86                 }
87
88                 public Metafile (String fileName, IntPtr referenceHtc) 
89                 {
90                         throw new NotImplementedException ();
91                 }
92
93                 public Metafile (IntPtr referenceHdc, EmfType emfType, string description) 
94                 {
95                         throw new NotImplementedException ();
96                 }
97
98                 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit) 
99                 {
100                         throw new NotImplementedException ();
101                 }
102
103                 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit) 
104                 {
105                         throw new NotImplementedException ();
106                 }
107
108                 public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader, bool deleteWmf) 
109                 {
110                         throw new NotImplementedException ();
111                 }
112
113                 public Metafile (Stream stream, IntPtr referenceHdc, EmfType type) 
114                 {
115                         throw new NotImplementedException ();
116                 }
117
118                 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect) 
119                 {
120                         throw new NotImplementedException ();
121                 }
122
123                 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect) 
124                 {
125                         throw new NotImplementedException ();
126                 }
127
128                 public Metafile (string fileName, IntPtr referenceHdc, EmfType type) 
129                 {
130                         throw new NotImplementedException ();
131                 }
132
133                 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect) 
134                 {
135                         throw new NotImplementedException ();
136                 }
137                 
138                 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect) 
139                 {
140                         throw new NotImplementedException ();
141                 }
142
143                 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type) 
144                 {
145                         throw new NotImplementedException ();
146                 }
147
148                 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type) 
149                 {
150                         throw new NotImplementedException ();
151                 }
152
153                 public Metafile (Stream stream, IntPtr referenceHtc, EmfType type, string description) 
154                 {
155                         throw new NotImplementedException ();
156                 }
157
158                 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit) 
159                 {
160                         throw new NotImplementedException ();
161                 }
162
163                 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit) 
164                 {
165                         throw new NotImplementedException ();
166                 }
167
168                 public Metafile (string fileName, IntPtr referenceHdc, EmfType type, string description)
169                 {
170                         throw new NotImplementedException ();
171                 }
172
173                 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit) 
174                 {
175                         throw new NotImplementedException ();
176                 }
177                 
178                 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
179                 {
180                         throw new NotImplementedException ();
181                 }
182
183                 public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type, string description) 
184                 {
185                         throw new NotImplementedException ();
186                 }
187
188                 public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description) 
189                 {
190                         throw new NotImplementedException ();
191                 }
192
193                 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type) 
194                 {
195                         throw new NotImplementedException ();
196                 }
197
198                 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type) 
199                 {
200                         throw new NotImplementedException ();
201                 }
202
203                 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type) 
204                 {
205                         throw new NotImplementedException ();
206                 }
207                 
208                 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, string description) 
209                 {
210                         throw new NotImplementedException ();
211                 }
212
213                 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type) 
214                 {
215                         throw new NotImplementedException ();
216                 }
217                 
218                 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, string description) 
219                 {
220                         throw new NotImplementedException ();
221                 }
222                 
223                 public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
224                                                                                                                         string description) 
225                 {
226                         throw new NotImplementedException ();
227                 }
228
229                 public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
230                                                                                                                         string description) 
231                 {
232                         throw new NotImplementedException ();
233                 }
234
235                 public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
236                                                                                                                         string description) 
237                 {
238                         throw new NotImplementedException ();
239                 }
240                 
241                 public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
242                                                                                                                         string description) 
243                 {
244                         throw new NotImplementedException ();
245                 }
246
247                 // methods
248
249                 public IntPtr GetHenhmetafile ()
250                 {
251                         throw new NotImplementedException ();
252                 }
253
254                 public MetafileHeader GetMetafileHeader ()
255                 {
256                         return GetMetafileHeader (GetHenhmetafile () );
257                 }
258
259                 public static MetafileHeader GetMetafileHeader (IntPtr henhmetafile)
260                 {
261                         throw new NotImplementedException ();
262                 }
263
264                 public static MetafileHeader GetMetafileHeader (Stream stream)
265                 {
266                         throw new NotImplementedException ();
267                 }
268
269                 public static MetafileHeader GetMetafileHeader (string fileName)
270                 {
271                         throw new NotImplementedException ();
272                 }
273
274                 public static MetafileHeader GetMetafileHeader (IntPtr henhmetafile, WmfPlaceableFileHeader wmfHeader)
275                 {
276                         throw new NotImplementedException ();
277                 }
278
279                 public void PlayRecord (EmfPlusRecordType recordType, int flags, int dataSize, byte[] datawmfHeader)
280                 {
281                         throw new NotImplementedException ();
282                 }
283         }
284 }