Closed Bug 1245845 Opened 9 years ago Closed 9 years ago

Preserve the FillRule of Paths passed to gfxContext::SetPath

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(2 files, 1 obsolete file)

Bug 1229662 (http://hg.mozilla.org/mozilla-central/rev/66b2ca5d7bc2) broke clipping is some tests that I'm trying to land by causing the FillRule of Paths passed to gfxContext::SetPath to be lost sometimes. The issues are in gfxContext::EnsurePath/EnsurePathBuilder since they now copy paths without copying the FillRule.
Attached patch patch (obsolete) — Splinter Review
Attachment #8715825 - Flags: review?(bas)
Blocks: 1229662
Would it not be safer if TransformedCopyToBuilder and CopyToBuilder did not have a default fillRule argument?
I think that would be better, yes. Bas, what would you think of me overloading these methods with inline versions that don't take an argument and just pass on the Path's FillRule to the current virtual methods?
Attachment #8715825 - Attachment is obsolete: true
Attachment #8715825 - Flags: review?(bas)
Attachment #8716693 - Flags: review?(bas) → review+
Attachment #8716695 - Flags: review?(bas) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: