[Mono-bugs] [Bug 76902][Wis] New - Graphics.BeginContainer() raises NotImplementedException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Dec 3 06:25:36 EST 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by atsushi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76902

--- shadow/76902	2005-12-03 06:25:36.000000000 -0500
+++ shadow/76902.tmp.28096	2005-12-03 06:25:36.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 76902
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: libgdiplus
+AssignedTo: jordi at ximian.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Graphics.BeginContainer() raises NotImplementedException
+
+Graphics.BeginContainer() results in NotImplementedException, at
+CheckStatus(). It looks like libgdiplus does not implement
+GdipBeginContainer2().
+
+using System;
+using System.Drawing;
+
+public class Test
+{
+
+        public static void Main ()
+        {
+                Image bmp = new Bitmap (100, 100);
+                Graphics g = Graphics.FromImage (bmp);
+                g.BeginContainer ();
+        }
+}
+
+
+Actual Results:
+
+Unhandled Exception: System.NotImplementedException: Feature not implemented.
+in <0x0020c> System.Drawing.GDIPlus:CheckStatus (Status status)
+in <0x00029> System.Drawing.Graphics:BeginContainer ()
+in (wrapper remoting-invoke-with-check)
+System.Drawing.Graphics:BeginContainer ()
+in <0x00038> Test:Main ()
+
+
+Expected Results:
+
+I guess, no error, but need to check if it really does not raise error.
+
+How often does this happen? 
+
+consistently.
+
+Additional Information:
+
+This blocks browsing SVG document in SharpVectorGraphics SvgViewer.exe.


More information about the mono-bugs mailing list