diff options
author | Konstantin Triger <kostat@mono-cvs.ximian.com> | 2006-01-02 20:52:09 +0300 |
---|---|---|
committer | Konstantin Triger <kostat@mono-cvs.ximian.com> | 2006-01-02 20:52:09 +0300 |
commit | 5fc73e22d752a3c82510df0495343451e895892b (patch) | |
tree | af051a13d3a5c0206f99b36560693fb7ed31729b /mcs/class/System.Drawing | |
parent | fef17ea2fa7012d6db472113eb72b8504a922bea (diff) |
correcting support level under TARGET_JVM
svn path=/trunk/mcs/; revision=54959
Diffstat (limited to 'mcs/class/System.Drawing')
4 files changed, 9 insertions, 26 deletions
diff --git a/mcs/class/System.Drawing/System.Drawing.Imaging/FrameDimension.cs b/mcs/class/System.Drawing/System.Drawing.Imaging/FrameDimension.cs index 941d893a1d5..ad6f7feb37a 100644 --- a/mcs/class/System.Drawing/System.Drawing.Imaging/FrameDimension.cs +++ b/mcs/class/System.Drawing/System.Drawing.Imaging/FrameDimension.cs @@ -37,7 +37,7 @@ using System; public sealed class FrameDimension { - internal Guid guid; + readonly Guid guid; // constructor public FrameDimension(Guid guid) @@ -70,14 +70,6 @@ public sealed class FrameDimension { } } -#if TARGET_JVM - internal static FrameDimension PixelFormat { - get { - return new FrameDimension (new Guid ("9BCCD13D-9D8C-401a-B9ED-BB548E5B3329" )); - } - } -#endif - //methods public override bool Equals(object o) { diff --git a/mcs/class/System.Drawing/System.Drawing.Imaging/ImageCodecInfo.jvm.cs b/mcs/class/System.Drawing/System.Drawing.Imaging/ImageCodecInfo.jvm.cs index b402dbc9d2d..fde2cc292e9 100755 --- a/mcs/class/System.Drawing/System.Drawing.Imaging/ImageCodecInfo.jvm.cs +++ b/mcs/class/System.Drawing/System.Drawing.Imaging/ImageCodecInfo.jvm.cs @@ -131,7 +131,7 @@ namespace System.Drawing.Imaging { public string DllName { get { return dllName; } - set { dllName = value; } + set { throw new NotSupportedException(); } } diff --git a/mcs/class/System.Drawing/System.Drawing/Region.jvm.cs b/mcs/class/System.Drawing/System.Drawing/Region.jvm.cs index 595cc174eae..aa2eb030f13 100644 --- a/mcs/class/System.Drawing/System.Drawing/Region.jvm.cs +++ b/mcs/class/System.Drawing/System.Drawing/Region.jvm.cs @@ -363,17 +363,10 @@ namespace System.Drawing } - #region GetRegionScans [TODO] - [MonoTODO] public RectangleF[] GetRegionScans(Matrix matrix) { - geom.Area area = NativeObject; - if (matrix !=null) - area = area.createTransformedArea (matrix.NativeObject); - //FIXME: return more exact result - return new RectangleF [] {new RectangleF (area.getBounds2D ())}; + throw new NotSupportedException(); } - #endregion #region Transform public void Transform(Matrix matrix) diff --git a/mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs b/mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs index 45ec9da7283..b63870a1bcb 100644 --- a/mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs +++ b/mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs @@ -146,14 +146,12 @@ namespace System.Drawing { } } - [MonoTODO] public int DigitSubstitutionLanguage { get { return _digitSubstituteLanguage; } } - [MonoTODO] public StringDigitSubstitute DigitSubstitutionMethod { get { return _digitSubstituteMethod; @@ -249,16 +247,16 @@ namespace System.Drawing { return "[StringFormat, FormatFlags=" + this.FormatFlags.ToString() + "]"; } - [MonoTODO] public void SetTabStops(float firstTabOffset, float[] tabStops) { - _firstTabOffset = firstTabOffset; - _tabStops = tabStops != null ? (float[])tabStops.Clone() : null; +// _firstTabOffset = firstTabOffset; +// _tabStops = tabStops != null ? (float[])tabStops.Clone() : null; + throw new NotSupportedException(); } - [MonoTODO] public void SetDigitSubstitution(int language, StringDigitSubstitute substitute) { - _digitSubstituteMethod = substitute; - _digitSubstituteLanguage = language; +// _digitSubstituteMethod = substitute; +// _digitSubstituteLanguage = language; + throw new NotSupportedException(); } [MonoTODO] |