Metafile.cs 7.4 KB

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