Closed Bug 37006 Opened 25 years ago Closed 20 years ago

nsRenderingContextMac::SetLineStyle needs to be implemented

Categories

(Core Graveyard :: GFX: Mac, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

Details

When I click on a combo box now, I get an assertion in nsRenderingContextMac::SetLineStyle that it is not yet implemented. It needs to be.
I looked into it a bit before seeing that a bug was already reported... - We should do something like on Windows where the PenPat is set before each drawing operation (DrawLine, DrawPolyline, DrawEllipse, DrawArc), although on the Mac we may need to restore it to PenPat(black) because the pattern is also used in the Fill operations. A pen setter similar to StPortSetter may be nice. - On Windows, DrawRect() doesn't call SetupPen(). Instead it calls FrameRect() with SetupSolidBrush() (see nsRenderingContextWin.cpp line #1121 and #1136). Is it a bug? - If I'm correct, when calling ::GetIndPattern() on the Mac the pattern ID should be #4 for dotted lines and #7 for dashed lines.
Status: NEW → ASSIGNED
Target Milestone: --- → M18
This bug has been marked future because we have determined that it is not critical for netscape 6.0. If you feel this is an error, or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M18 → Future
Any more recent comments on this bug?
->GFX: Mac
Assignee: dcone → sfraser
Status: ASSIGNED → NEW
Component: Layout → GFX: Mac
QA Contact: petersen → ian
This bug is targeted at a Mac classic platform/OS, which is no longer supported by mozilla.org. Please re-target it to another platform/OS if this bug applies there as well or resolve this bug. I will resolve this bug as WONTFIX in four weeks if no action has been taken. To filter this and similar messages out, please filter for "mac_cla_reorg".
Mac Classic RIP
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.