[Mono-bugs] [Bug 681656] New: Control.DrawToBitmap wrong origin
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Mar 22 13:21:39 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=681656
https://bugzilla.novell.com/show_bug.cgi?id=681656#c0
Summary: Control.DrawToBitmap wrong origin
Classification: Mono
Product: Mono: Class Libraries
Version: 2.8.x
Platform: x86-64
OS/Version: Windows 7
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: xocotl at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15)
Gecko/20110303 Firefox/3.6.15
The rectangle passed to DrawToBitmap is supposed to be the *target* rectangle
only. The upper left hand corner of the target rectangle in DrawToBitmap needs
to correspond to the pixels at Control.Location in the real control. In other
words, the current Mono behavior is only correct when both (a) the target
rectangle has a Location of the origin, and (b) [as far as clipping is
concerned, so (b) only affects some controls] when the Control.Location is at
the origin.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list