Metafile.jvm.cs 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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. public sealed class Metafile : Image {
  43. // constructors
  44. public Metafile (Stream stream)
  45. {
  46. throw new NotImplementedException ();
  47. }
  48. public Metafile (string filename)
  49. {
  50. throw new NotImplementedException ();
  51. }
  52. #if INTPTR_SUPPORT
  53. public Metafile (IntPtr henhmetafile, bool deleteEmf)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. public Metafile (IntPtr referenceHtc, EmfType emfType)
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. public Metafile (IntPtr referenceHtc, Rectangle frameRect)
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. public Metafile (IntPtr referenceHtc, RectangleF frameRect)
  66. {
  67. throw new NotImplementedException ();
  68. }
  69. public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. public Metafile (Stream stream, IntPtr referenceHtc)
  74. {
  75. throw new NotImplementedException ();
  76. }
  77. public Metafile (String fileName, IntPtr referenceHtc)
  78. {
  79. throw new NotImplementedException ();
  80. }
  81. public Metafile (IntPtr referenceHdc, EmfType emfType, string description)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. public Metafile (IntPtr hmetafile, WmfPlaceableFileHeader wmfHeader, bool deleteWmf)
  94. {
  95. throw new NotImplementedException ();
  96. }
  97. public Metafile (Stream stream, IntPtr referenceHdc, EmfType type)
  98. {
  99. throw new NotImplementedException ();
  100. }
  101. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect)
  102. {
  103. throw new NotImplementedException ();
  104. }
  105. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. public Metafile (string fileName, IntPtr referenceHdc, EmfType type)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect)
  114. {
  115. throw new NotImplementedException ();
  116. }
  117. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect)
  118. {
  119. throw new NotImplementedException ();
  120. }
  121. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  122. {
  123. throw new NotImplementedException ();
  124. }
  125. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  126. {
  127. throw new NotImplementedException ();
  128. }
  129. public Metafile (Stream stream, IntPtr referenceHtc, EmfType type, string description)
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  134. {
  135. throw new NotImplementedException ();
  136. }
  137. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  138. {
  139. throw new NotImplementedException ();
  140. }
  141. public Metafile (string fileName, IntPtr referenceHdc, EmfType type, string description)
  142. {
  143. throw new NotImplementedException ();
  144. }
  145. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit)
  146. {
  147. throw new NotImplementedException ();
  148. }
  149. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit)
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. public Metafile (IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
  154. {
  155. throw new NotImplementedException ();
  156. }
  157. public Metafile (IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)
  158. {
  159. throw new NotImplementedException ();
  160. }
  161. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  162. {
  163. throw new NotImplementedException ();
  164. }
  165. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  166. {
  167. throw new NotImplementedException ();
  168. }
  169. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type)
  170. {
  171. throw new NotImplementedException ();
  172. }
  173. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, string description)
  174. {
  175. throw new NotImplementedException ();
  176. }
  177. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
  178. {
  179. throw new NotImplementedException ();
  180. }
  181. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, string description)
  182. {
  183. throw new NotImplementedException ();
  184. }
  185. public Metafile (Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
  186. string description)
  187. {
  188. throw new NotImplementedException ();
  189. }
  190. public Metafile (Stream stream, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
  191. string description)
  192. {
  193. throw new NotImplementedException ();
  194. }
  195. public Metafile (string fileName, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, EmfType type,
  196. string description)
  197. {
  198. throw new NotImplementedException ();
  199. }
  200. public Metafile (string fileName, IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type,
  201. string description)
  202. {
  203. throw new NotImplementedException ();
  204. }
  205. // methods
  206. public IntPtr GetHenhmetafile()
  207. {
  208. throw new NotImplementedException ();
  209. }
  210. #endif
  211. public MetafileHeader GetMetafileHeader()
  212. {
  213. throw new NotFiniteNumberException();
  214. }
  215. #if INTPTR_SUPPORT
  216. public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile)
  217. {
  218. throw new NotImplementedException ();
  219. }
  220. #endif
  221. public static MetafileHeader GetMetafileHeader(Stream stream)
  222. {
  223. throw new NotImplementedException ();
  224. }
  225. public static MetafileHeader GetMetafileHeader(string fileName)
  226. {
  227. throw new NotImplementedException ();
  228. }
  229. #if INTPTR_SUPPORT
  230. public static MetafileHeader GetMetafileHeader(IntPtr henhmetafile, WmfPlaceableFileHeader wmfHeader)
  231. {
  232. throw new NotImplementedException ();
  233. }
  234. #endif
  235. public void PlayRecord(EmfPlusRecordType recordType, int flags, int dataSize, byte[] datawmfHeader)
  236. {
  237. throw new NotImplementedException ();
  238. }
  239. // properties
  240. protected override void InternalSave (javax.imageio.stream.ImageOutputStream output, Guid clsid) {
  241. throw new NotImplementedException ();
  242. }
  243. protected override PixelFormat InternalPixelFormat {
  244. get {
  245. throw new NotImplementedException ();
  246. }
  247. }
  248. protected override java.awt.Image[] CloneNativeObjects(java.awt.Image[] src) {
  249. throw new NotImplementedException ();
  250. }
  251. #region Clone
  252. public override object Clone() {
  253. throw new NotImplementedException ();
  254. }
  255. #endregion
  256. }
  257. }