MetafileHeader.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. //
  2. // System.Drawing.Imaging.MetafileHeader.cs
  3. //
  4. // (C) 2002 Ximian, Inc. http://www.ximian.com
  5. // Author: Everaldo Canuto
  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.Runtime.InteropServices;
  33. namespace System.Drawing.Imaging {
  34. [MonoTODO]
  35. #if !TARGET_JVM
  36. [StructLayout(LayoutKind.Sequential)]
  37. #endif
  38. public sealed class MetafileHeader
  39. {
  40. //constructor
  41. internal MetafileHeader()
  42. {
  43. //Nothing to be done here
  44. }
  45. // methods
  46. [MonoTODO]
  47. public bool IsDisplay() {
  48. throw new NotImplementedException ();
  49. }
  50. [MonoTODO]
  51. public bool IsEmf() {
  52. throw new NotImplementedException ();
  53. }
  54. [MonoTODO]
  55. public bool IsEmfOrEmfPlus() {
  56. throw new NotImplementedException ();
  57. }
  58. [MonoTODO]
  59. public bool IsEmfPlus() {
  60. throw new NotImplementedException ();
  61. }
  62. [MonoTODO]
  63. public bool IsEmfPlusDual() {
  64. throw new NotImplementedException ();
  65. }
  66. [MonoTODO]
  67. public bool IsEmfPlusOnly() {
  68. throw new NotImplementedException ();
  69. }
  70. [MonoTODO]
  71. public bool IsWmf() {
  72. throw new NotImplementedException ();
  73. }
  74. [MonoTODO]
  75. public bool IsWmfPlaceable() {
  76. throw new NotImplementedException ();
  77. }
  78. // properties
  79. [MonoTODO]
  80. public Rectangle Bounds {
  81. get { throw new NotImplementedException (); }
  82. }
  83. [MonoTODO]
  84. public float DpiX {
  85. get { throw new NotImplementedException (); }
  86. }
  87. [MonoTODO]
  88. public float DpiY {
  89. get { throw new NotImplementedException (); }
  90. }
  91. [MonoTODO]
  92. public int EmfPlusHeaderSize {
  93. get { throw new NotImplementedException (); }
  94. }
  95. [MonoTODO]
  96. public int LogicalDpiX {
  97. get { throw new NotImplementedException (); }
  98. }
  99. [MonoTODO]
  100. public int LogicalDpiY {
  101. get { throw new NotImplementedException (); }
  102. }
  103. [MonoTODO]
  104. public int MetafileSize {
  105. get { throw new NotImplementedException (); }
  106. }
  107. [MonoTODO]
  108. public MetafileType Type {
  109. get { throw new NotImplementedException (); }
  110. }
  111. [MonoTODO]
  112. public int Version {
  113. get { throw new NotImplementedException (); }
  114. }
  115. [MonoTODO]
  116. public MetaHeader WmfHeader {
  117. get { throw new NotImplementedException (); }
  118. }
  119. }
  120. }