DotGNU Portable.NET - Patches: patch #3512, correct a off-by-one display bug...
You are not allowed to post comments on this tracker with your current authentication level.
patch #3512: correct a off-by-one display bug in Graphics.DrawString
Submitter: | Erich Kitzmüller <ammoq> | ||
Submitted: | Wed 10 Nov 2004 12:58:52 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Tue 07 Dec 2004 11:58:56 AM UTC, comment #2: |
Erich Kitzmüller <ammoq> |
Tue 07 Dec 2004 11:30:28 AM UTC, comment #1: Applied to CVS on 7th Dec 2004.
|
Gopal.V <t3rmin4t0r> |
Wed 10 Nov 2004 12:58:52 PM UTC, original submission:
Because of this bug, in MenuItems as well as in table Cells of SourceGridMini (yes, it works in portable.net) the last character of the String was not displayed. |
Erich Kitzmüller <ammoq> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2004-12-07 | t3rmin4t0r | Status | None | Done | |
Open/Closed | Open | Closed | |||
2004-11-10 | ammoq | Attached File | - | Added Graphics.cs.patch, #3868 |
Powered by Savane 3.13-0329.
Corresponding source code
I think it is simply caused by the "- 1" in line 1496-1497,
though I'm not sure what ConvertRectangle does:
// convert the layout into device coordinates
Point[] rect = ConvertRectangle
((layoutRectangle.X + baseWindow.X),
(layoutRectangle.Y + baseWindow.Y),
(layoutRectangle.Width - 1),
(layoutRectangle.Height - 1),
pageUnit);