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)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: waterson, Assigned: waterson)

Details

Attachments

(1 file)

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
karnaze, buster, can I get r= and sr=?
sr=buster
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix checked in.
Marking fixed in the March 6 Linux build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: