Metafile.jvm.cs 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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. //
  10. // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
  11. //
  12. // Permission is hereby granted, free of charge, to any person obtaining
  13. // a copy of this software and associated documentation files (the
  14. // "Software"), to deal in the Software without restriction, including
  15. // without limitation the rights to use, copy, modify, merge, publish,
  16. // distribute, sublicense, and/or sell copies of the Software, and to
  17. // permit persons to whom the Software is furnished to do so, subject to
  18. // the following conditions:
  19. //
  20. // The above copyright notice and this permission notice shall be
  21. // included in all copies or substantial portions of the Software.
  22. //
  23. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  24. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  25. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  26. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  27. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  28. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  29. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  30. //
  31. using System;
  32. using System.IO;
  33. using System.Reflection;
  34. using System.ComponentModel;
  35. using System.Runtime.InteropServices;
  36. namespace System.Drawing.Imaging {
  37. [Serializable]
  38. [ComVisible (false)]
  39. #if SYSTEM_DRAWING_DESIGN_SUPPORT
  40. [Editor ("System.Drawing.Design.MetafileEditor, " + Consts.AssemblySystem_Drawing_Design, typeof (System.Drawing.Design.UITypeEditor))]
  41. #endif
  42. [MonoTODO]
  43. public sealed class Metafile : Image {
  44. // constructors
  45. [MonoTODO]
  46. public Metafile (Stream stream)
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. [MonoTODO]
  51. public Metafile (string filename)
  52. {
  53. throw new NotImplementedException ();
  54. }
  55. #if INTPTR_SUPPORT
  56. [MonoTODO]
  57. public Metafile (IntPtr henhmetafile, bool deleteEmf)
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. [MonoTODO]
  62. public Metafile (IntPtr referenceHtc, EmfType emfType)
  63. {
  64. throw new NotImplementedException ();
  65. }
  66. [MonoTODO]
  67. public Metafile (IntPtr referenceHtc, Rectangle frameRect)
  68. {
  69. throw new NotImplementedException ();
  70. }
  71. [MonoTODO]
  72. public Metafile (IntPtr referenceHtc, RectangleF frameRect)
  73. {
  74. throw new NotImplementedException ();
  75. }
  76. [MonoTODO]
  77. public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
  78. {
  79. throw new NotImplementedException ();
  80. }
  81. [MonoTODO]
  82. public Metafile (Stream stream, IntPtr referenceHtc)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. [MonoTODO]
  87. public Metafile (String fileName, IntPtr referenceHtc)
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. [MonoTODO]
  92. public Metafile (IntPtr referenceHdc, EmfType emfType, string description)
  93. {
  94. throw new NotImplementedException ();
  95. }
  96. [MonoTODO]
  97. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  98. {
  99. throw new NotImplementedException ();
  100. }
  101. [MonoTODO]
  102. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  103. {
  104. throw new NotImplementedException ();
  105. }
  106. [MonoTODO]
  107. public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader, bool deleteWmf)
  108. {
  109. throw new NotImplementedException ();
  110. }
  111. [MonoTODO]
  112. public Metafile (Stream stream, IntPtr referenceHdc, EmfType type)
  113. {
  114. throw new NotImplementedException ();
  115. }
  116. [MonoTODO]
  117. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect)
  118. {
  119. throw new NotImplementedException ();
  120. }
  121. [MonoTODO]
  122. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect)
  123. {
  124. throw new NotImplementedException ();
  125. }
  126. [MonoTODO]
  127. public Metafile (string fileName, IntPtr referenceHdc, EmfType type)
  128. {
  129. throw new NotImplementedException ();
  130. }
  131. [MonoTODO]
  132. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect)
  133. {
  134. throw new NotImplementedException ();
  135. }
  136. [MonoTODO]
  137. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect)
  138. {
  139. throw new NotImplementedException ();
  140. }
  141. [MonoTODO]
  142. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  143. {
  144. throw new NotImplementedException ();
  145. }
  146. [MonoTODO]
  147. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  148. {
  149. throw new NotImplementedException ();
  150. }
  151. [MonoTODO]
  152. public Metafile (Stream stream, IntPtr referenceHtc, EmfType type, string description)
  153. {
  154. throw new NotImplementedException ();
  155. }
  156. [MonoTODO]
  157. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  158. {
  159. throw new NotImplementedException ();
  160. }
  161. [MonoTODO]
  162. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  163. {
  164. throw new NotImplementedException ();
  165. }
  166. [MonoTODO]
  167. public Metafile (string fileName, IntPtr referenceHdc, EmfType type, string description)
  168. {
  169. throw new NotImplementedException ();
  170. }
  171. [MonoTODO]
  172. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  173. {
  174. throw new NotImplementedException ();
  175. }
  176. [MonoTODO]
  177. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  178. {
  179. throw new NotImplementedException ();
  180. }
  181. [MonoTODO]
  182. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
  183. {
  184. throw new NotImplementedException ();
  185. }
  186. [MonoTODO]
  187. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
  188. {
  189. throw new NotImplementedException ();
  190. }
  191. [MonoTODO]
  192. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  193. {
  194. throw new NotImplementedException ();
  195. }
  196. [MonoTODO]
  197. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  198. {
  199. throw new NotImplementedException ();
  200. }
  201. [MonoTODO]
  202. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  203. {
  204. throw new NotImplementedException ();
  205. }
  206. [MonoTODO]
  207. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, string description)
  208. {
  209. throw new NotImplementedException ();
  210. }
  211. [MonoTODO]
  212. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  213. {
  214. throw new NotImplementedException ();
  215. }
  216. [MonoTODO]
  217. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, string description)
  218. {
  219. throw new NotImplementedException ();
  220. }
  221. [MonoTODO]
  222. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
  223. string description)
  224. {
  225. throw new NotImplementedException ();
  226. }
  227. [MonoTODO]
  228. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
  229. string description)
  230. {
  231. throw new NotImplementedException ();
  232. }
  233. [MonoTODO]
  234. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
  235. string description)
  236. {
  237. throw new NotImplementedException ();
  238. }
  239. [MonoTODO]
  240. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
  241. string description)
  242. {
  243. throw new NotImplementedException ();
  244. }
  245. // methods
  246. [MonoTODO]
  247. public IntPtr GetHenhmetafile()
  248. {
  249. throw new NotImplementedException ();
  250. }
  251. #endif
  252. [MonoTODO]
  253. public MetafileHeader GetMetafileHeader()
  254. {
  255. throw new NotFiniteNumberException();
  256. }
  257. #if INTPTR_SUPPORT
  258. [MonoTODO]
  259. public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile)
  260. {
  261. throw new NotImplementedException ();
  262. }
  263. #endif
  264. [MonoTODO]
  265. public static MetafileHeader GetMetafileHeader(Stream stream)
  266. {
  267. throw new NotImplementedException ();
  268. }
  269. [MonoTODO]
  270. public static MetafileHeader GetMetafileHeader(string fileName)
  271. {
  272. throw new NotImplementedException ();
  273. }
  274. #if INTPTR_SUPPORT
  275. [MonoTODO]
  276. public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile, WmfPlaceableFileHeader wmfHeader)
  277. {
  278. throw new NotImplementedException ();
  279. }
  280. #endif
  281. [MonoTODO]
  282. public void PlayRecord(EmfPlusRecordType recordType, int flags, int dataSize, byte[] datawmfHeader)
  283. {
  284. throw new NotImplementedException ();
  285. }
  286. // properties
  287. [MonoTODO]
  288. protected override void InternalSave (javax.imageio.stream.ImageOutputStream output, Guid clsid) {
  289. throw new NotImplementedException ();
  290. }
  291. [MonoTODO]
  292. protected override PixelFormat InternalPixelFormat {
  293. get {
  294. throw new NotImplementedException ();
  295. }
  296. }
  297. [MonoTODO]
  298. protected override java.awt.Image[] CloneNativeObjects(java.awt.Image[] src) {
  299. throw new NotImplementedException ();
  300. }
  301. #region Clone
  302. [MonoTODO]
  303. public override object Clone() {
  304. throw new NotImplementedException ();
  305. }
  306. #endregion
  307. }
  308. }