Closed
Bug 61337
Opened 25 years ago
Closed 25 years ago
problem with drawing of right arc with NOSHADE <HR>
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: waterson, Assigned: waterson)
Details
Attachments
(1 file)
|
722 bytes,
patch
|
Details | Diff | Splinter Review |
From Dainis_Jonitis@swh-t.lv
When drawing horizontal rule with NOSHADE attribute the bar with rounded
corners is drawn.
There is problem with drawing of right arc. To draw half of circle the
start angle must
be 270 and end angle 90 degrees (not 180). Otherwise 3/4 of circle are
drawn.
mozilla/layout/html/base/src/nsHRFrame.cpp (line 164) [28-nov-2000]
Change:
aRenderingContext.FillArc(x0 + width - diameter, y0,
diameter, diameter, 270.0f, 180.0f);
To:
aRenderingContext.FillArc(x0 + width - diameter, y0,
diameter, diameter, 270.0f, 90.0f);
Dainis Jonitis
Developer. OS/2 department, Printer Device driver development group
SWH Technology, Exigen group
Phone (+371) 703 2700 (ext. 213)
Fax (+371) 703 2710
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Comment 2•25 years ago
|
||
karnaze, buster, can I get r= and sr=?
| Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•25 years ago
|
||
Fix checked in.
You need to log in
before you can comment on or make changes to this bug.
Description
•