[Mono-bugs] [Bug 56803][Nor] New - GdipDrawImageRectI Broken
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 10 Apr 2004 22:20:41 -0400 (EDT)
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 peter@novonyx.com.
http://bugzilla.ximian.com/show_bug.cgi?id=56803
--- shadow/56803 2004-04-10 22:20:41.000000000 -0400
+++ shadow/56803.tmp.30361 2004-04-10 22:20:41.000000000 -0400
@@ -0,0 +1,66 @@
+Bug#: 56803
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details: Fedora Core 1
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: peter@novonyx.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Summary: GdipDrawImageRectI Broken
+
+The changes to GdipDrawImageRectI in rev 1.14 of image.c (libgdiplus) break
+System.Windows.Form's display of bitmaps. Instead of the expected bitmap
+only a white block is displayed.
+
+
+Steps to reproduce the problem:
+1. Compile and run the sourcecode below. (mcs -g swftest.cs
+-r:System.Windows.Forms -r:System.Drawing)
+
+Actual Results:
+ White square displayed
+
+Expected Results:
+ Text 'I am a label' displayed
+
+How often does this happen?
+ Everytime
+
+
+Additional Information:
+using System;
+using System.Windows.Forms;
+
+namespace SWFTestClass {
+ public class MainWindow : System.Windows.Forms.Form {
+ private Label label;
+ private Button button;
+
+ public MainWindow() {
+ label=new Label();
+
+ this.Text="I'm a little SWF app using Wine";
+
+ label.Location=new System.Drawing.Point(16,24);
+ label.Size=new System.Drawing.Size(216,24);
+ label.Text="I am a label";
+
+ this.Controls.Add(label);
+ }
+
+ protected void button_click(object sender, System.EventArgs e) {
+ Application.Exit();
+ }
+
+ public static void Main() {
+ Application.Run(new MainWindow());
+ }
+ }
+}