[Bug 34102] It is not drawn when specify 0 for the width and height in GdipDrawString.
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jul 22 00:30:34 CDT 2013
http://bugs.winehq.org/show_bug.cgi?id=34102
--- Comment #1 from masakazu matsubara <matsu.no.page at gmail.com> 2013-07-22 00:30:34 CDT ---
sample (C#)
private void Form1_Paint(object sender, PaintEventArgs e)
{
Graphics g = this.CreateGraphics();
Font font = new Font("Arial", 20);
Brush brush = new SolidBrush(Color.Black);
RectangleF rect1 = new RectangleF(10, 10, 0, 0);
RectangleF rect2 = new RectangleF(10, 100, 200, 50);
// Not drawn (Will be drawn on Windows)
g.DrawString("ABCDE", font, brush, rect1);
// Will be drawn
g.DrawString("abcde", font, brush, rect2);
}
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list