EncoderParameter.jvm.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. //
  2. // System.Drawing.Imaging.EncoderParameter.cs
  3. //
  4. // Author:
  5. // Ravindra ([email protected])
  6. // Vladimir Vukicevic ([email protected])
  7. //
  8. // (C) 2004 Novell, Inc. http://www.novell.com
  9. //
  10. //
  11. // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
  12. //
  13. // Permission is hereby granted, free of charge, to any person obtaining
  14. // a copy of this software and associated documentation files (the
  15. // "Software"), to deal in the Software without restriction, including
  16. // without limitation the rights to use, copy, modify, merge, publish,
  17. // distribute, sublicense, and/or sell copies of the Software, and to
  18. // permit persons to whom the Software is furnished to do so, subject to
  19. // the following conditions:
  20. //
  21. // The above copyright notice and this permission notice shall be
  22. // included in all copies or substantial portions of the Software.
  23. //
  24. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  25. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  26. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  27. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  28. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  29. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  30. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  31. //
  32. using System;
  33. using System.Text;
  34. using System.Runtime.InteropServices;
  35. namespace System.Drawing.Imaging {
  36. public sealed class EncoderParameter : IDisposable {
  37. private Encoder encoder;
  38. private int valuesCount;
  39. private EncoderParameterValueType type;
  40. internal EncoderParameter ()
  41. {
  42. }
  43. public EncoderParameter (Encoder encoder, byte value)
  44. {
  45. throw new NotImplementedException();
  46. }
  47. public EncoderParameter (Encoder encoder, byte[] value)
  48. {
  49. throw new NotImplementedException();
  50. }
  51. public EncoderParameter (Encoder encoder, short value)
  52. {
  53. throw new NotImplementedException();
  54. }
  55. public EncoderParameter (Encoder encoder, short[] value)
  56. {
  57. throw new NotImplementedException();
  58. }
  59. public EncoderParameter (Encoder encoder, long value)
  60. {
  61. throw new NotImplementedException();
  62. }
  63. public EncoderParameter (Encoder encoder, long[] value)
  64. {
  65. throw new NotImplementedException();
  66. }
  67. public EncoderParameter (Encoder encoder, string value)
  68. {
  69. throw new NotImplementedException();
  70. }
  71. public EncoderParameter (Encoder encoder, byte value, bool undefined)
  72. {
  73. throw new NotImplementedException();
  74. }
  75. public EncoderParameter (Encoder encoder, byte[] value, bool undefined)
  76. {
  77. throw new NotImplementedException();
  78. }
  79. public EncoderParameter (Encoder encoder, int numerator, int denominator)
  80. {
  81. throw new NotImplementedException();
  82. }
  83. public EncoderParameter (Encoder encoder, int[] numerator, int[] denominator)
  84. {
  85. throw new NotImplementedException();
  86. }
  87. public EncoderParameter (Encoder encoder, long rangebegin, long rangeend)
  88. {
  89. throw new NotImplementedException();
  90. }
  91. public EncoderParameter (Encoder encoder, long[] rangebegin, long[] rangeend)
  92. {
  93. throw new NotImplementedException();
  94. }
  95. public EncoderParameter (Encoder encoder, int numberOfValues, int type, int value)
  96. {
  97. throw new NotImplementedException();
  98. }
  99. public EncoderParameter (Encoder encoder, int numerator1, int denominator1, int numerator2, int denominator2)
  100. {
  101. throw new NotImplementedException();
  102. }
  103. public EncoderParameter (Encoder encoder, int[] numerator1, int[] denominator1, int[] numerator2, int[] denominator2)
  104. {
  105. throw new NotImplementedException();
  106. }
  107. public Encoder Encoder {
  108. get {
  109. return encoder;
  110. }
  111. set {
  112. encoder = value;
  113. }
  114. }
  115. public int NumberOfValues {
  116. get {
  117. return valuesCount;
  118. }
  119. }
  120. public EncoderParameterValueType Type {
  121. get {
  122. return type;
  123. }
  124. }
  125. public EncoderParameterValueType ValueType {
  126. get {
  127. return type;
  128. }
  129. }
  130. void Dispose (bool disposing) {
  131. throw new NotImplementedException();
  132. }
  133. public void Dispose () {
  134. Dispose (true);
  135. }
  136. ~EncoderParameter () {
  137. Dispose (false);
  138. }
  139. }
  140. }