Metafile.cs 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. //
  2. // System.Drawing.Imaging.Metafile.cs
  3. //
  4. // (C) 2002 Ximian, Inc. http://www.ximian.com
  5. // Author: Christian Meyer
  6. // eMail: [email protected]
  7. // Dennis Hayes ([email protected])
  8. //
  9. using System;
  10. using System.IO;
  11. using System.Reflection;
  12. using System.ComponentModel;
  13. using System.Runtime.InteropServices;
  14. namespace System.Drawing.Imaging {
  15. [Serializable]
  16. [ComVisible (false)]
  17. [Editor ("System.Drawing.Design.MetafileEditor, " + Consts.AssemblySystem_Drawing_Design, typeof (System.Drawing.Design.UITypeEditor))]
  18. public sealed class Metafile : Image {
  19. // constructors
  20. [MonoTODO]
  21. public Metafile (Stream stream)
  22. {
  23. throw new NotImplementedException ();
  24. }
  25. [MonoTODO]
  26. public Metafile (string filename)
  27. {
  28. throw new NotImplementedException ();
  29. }
  30. [MonoTODO]
  31. public Metafile (IntPtr henhmetafile, bool deleteEmf)
  32. {
  33. throw new NotImplementedException ();
  34. }
  35. [MonoTODO]
  36. public Metafile (IntPtr referenceHtc, EmfType emfType)
  37. {
  38. throw new NotImplementedException ();
  39. }
  40. [MonoTODO]
  41. public Metafile (IntPtr referenceHtc, Rectangle frameRect)
  42. {
  43. throw new NotImplementedException ();
  44. }
  45. [MonoTODO]
  46. public Metafile (IntPtr referenceHtc, RectangleF frameRect)
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. [MonoTODO]
  51. public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
  52. {
  53. throw new NotImplementedException ();
  54. }
  55. [MonoTODO]
  56. public Metafile (Stream stream, IntPtr referenceHtc)
  57. {
  58. throw new NotImplementedException ();
  59. }
  60. [MonoTODO]
  61. public Metafile (String fileName, IntPtr referenceHtc)
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. [MonoTODO]
  66. public Metafile (IntPtr referenceHdc, EmfType emfType, string description)
  67. {
  68. throw new NotImplementedException ();
  69. }
  70. [MonoTODO]
  71. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  72. {
  73. throw new NotImplementedException ();
  74. }
  75. [MonoTODO]
  76. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  77. {
  78. throw new NotImplementedException ();
  79. }
  80. [MonoTODO]
  81. public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader, bool deleteWmf)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. [MonoTODO]
  86. public Metafile (Stream stream, IntPtr referenceHdc, EmfType type)
  87. {
  88. throw new NotImplementedException ();
  89. }
  90. [MonoTODO]
  91. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect)
  92. {
  93. throw new NotImplementedException ();
  94. }
  95. [MonoTODO]
  96. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect)
  97. {
  98. throw new NotImplementedException ();
  99. }
  100. [MonoTODO]
  101. public Metafile (string fileName, IntPtr referenceHdc, EmfType type)
  102. {
  103. throw new NotImplementedException ();
  104. }
  105. [MonoTODO]
  106. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect)
  107. {
  108. throw new NotImplementedException ();
  109. }
  110. [MonoTODO]
  111. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect)
  112. {
  113. throw new NotImplementedException ();
  114. }
  115. [MonoTODO]
  116. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  117. {
  118. throw new NotImplementedException ();
  119. }
  120. [MonoTODO]
  121. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  122. {
  123. throw new NotImplementedException ();
  124. }
  125. [MonoTODO]
  126. public Metafile (Stream stream, IntPtr referenceHtc, EmfType type, string description)
  127. {
  128. throw new NotImplementedException ();
  129. }
  130. [MonoTODO]
  131. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  132. {
  133. throw new NotImplementedException ();
  134. }
  135. [MonoTODO]
  136. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  137. {
  138. throw new NotImplementedException ();
  139. }
  140. [MonoTODO]
  141. public Metafile (string fileName, IntPtr referenceHdc, EmfType type, string description)
  142. {
  143. throw new NotImplementedException ();
  144. }
  145. [MonoTODO]
  146. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  147. {
  148. throw new NotImplementedException ();
  149. }
  150. [MonoTODO]
  151. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  152. {
  153. throw new NotImplementedException ();
  154. }
  155. [MonoTODO]
  156. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
  157. {
  158. throw new NotImplementedException ();
  159. }
  160. [MonoTODO]
  161. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
  162. {
  163. throw new NotImplementedException ();
  164. }
  165. [MonoTODO]
  166. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  167. {
  168. throw new NotImplementedException ();
  169. }
  170. [MonoTODO]
  171. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  172. {
  173. throw new NotImplementedException ();
  174. }
  175. [MonoTODO]
  176. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  177. {
  178. throw new NotImplementedException ();
  179. }
  180. [MonoTODO]
  181. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, string description)
  182. {
  183. throw new NotImplementedException ();
  184. }
  185. [MonoTODO]
  186. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  187. {
  188. throw new NotImplementedException ();
  189. }
  190. [MonoTODO]
  191. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, string description)
  192. {
  193. throw new NotImplementedException ();
  194. }
  195. [MonoTODO]
  196. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
  197. string description)
  198. {
  199. throw new NotImplementedException ();
  200. }
  201. [MonoTODO]
  202. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
  203. string description)
  204. {
  205. throw new NotImplementedException ();
  206. }
  207. [MonoTODO]
  208. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
  209. string description)
  210. {
  211. throw new NotImplementedException ();
  212. }
  213. [MonoTODO]
  214. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
  215. string description)
  216. {
  217. throw new NotImplementedException ();
  218. }
  219. // methods
  220. [MonoTODO]
  221. public IntPtr GetHenhmetafile()
  222. {
  223. throw new NotImplementedException ();
  224. }
  225. public MetafileHeader GetMetafileHeader()
  226. {
  227. return GetMetafileHeader (GetHenhmetafile () );
  228. }
  229. [MonoTODO]
  230. public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile)
  231. {
  232. throw new NotImplementedException ();
  233. }
  234. [MonoTODO]
  235. public static MetafileHeader GetMetafileHeader(Stream stream)
  236. {
  237. throw new NotImplementedException ();
  238. }
  239. [MonoTODO]
  240. public static MetafileHeader GetMetafileHeader(string fileName)
  241. {
  242. throw new NotImplementedException ();
  243. }
  244. [MonoTODO]
  245. public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile, WmfPlaceableFileHeader wmfHeader)
  246. {
  247. throw new NotImplementedException ();
  248. }
  249. [MonoTODO]
  250. public void PlayRecord(EmfPlusRecordType recordType, int flags, int dataSize, byte[] datawmfHeader)
  251. {
  252. throw new NotImplementedException ();
  253. }
  254. // properties
  255. }
  256. }