Closed
Bug 71524
Opened 24 years ago
Closed 24 years ago
The frame's x,y location should be adjusted to fall on a pixel boundary
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
People
(Reporter: kmcclusk, Assigned: attinasi)
Details
In the process of converting from twips to pixel's we are sometimes off by one pixel because of roundoff error. This results in calls to invalidate the frame's rect which are sometimes 1 pixel too narrow. It may make sense to condition the location of a frame so it's twip coordinates coorespond to pixel boundary. The problem is the x,y coorindate may contain a twip value that is a fraction of a pixel. When the width of the frame is added to the x coordinate the number of pixels will vary depending on the x corrdinate's sub-pixel twip coordinate.
Comment 1•24 years ago
|
||
Double submit. *** This bug has been marked as a duplicate of 71523 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•