Author: kostat
Date: 2005-09-12 16:21:58 -0400 (Mon, 12 Sep 2005)
New Revision: 49953
Modified:
trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog
trunk/mcs/class/System.Drawing/System.Drawing/Region.jvm.cs
Log:
IsVisible is about intersection
Modified: trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog 2005-09-12
19:54:04 UTC (rev 49952)
+++ trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog 2005-09-12
20:21:58 UTC (rev 49953)
@@ -1,3 +1,7 @@
+2005-09-12 Konstantin Triger <[EMAIL PROTECTED]>
+
+ * Region.jvm.cs: IsVisible is about intersection
+
2005-09-12 Gert Driesen <[EMAIL PROTECTED]>
* ImageConverter.cs: Use default TypeDescriptor implementation of
Modified: trunk/mcs/class/System.Drawing/System.Drawing/Region.jvm.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing/Region.jvm.cs 2005-09-12
19:54:04 UTC (rev 49952)
+++ trunk/mcs/class/System.Drawing/System.Drawing/Region.jvm.cs 2005-09-12
20:21:58 UTC (rev 49953)
@@ -297,14 +297,14 @@
public bool IsVisible (float x, float y, float width, float
height)
{
- return NativeObject.contains(x,y,width,height);
+ return NativeObject.intersects(x,y,width,height);
}
public bool IsVisible (float x, float y, float width, float
height, Graphics g)
{
if (g == null)
throw new ArgumentNullException("graphics");
- return NativeObject.contains(x,y,width,height);
+ return NativeObject.intersects(x,y,width,height);
}
#endregion
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches