Closed Bug 930443 Opened 11 years ago Closed 11 years ago

Convert SVGPathSegUtils to Moz2D

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: jwatt, Assigned: jwatt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

      No description provided.
Attached patch patchSplinter Review
Attachment #821600 - Flags: review?(cam)
Comment on attachment 821600 [details] [diff] [review]
patch

Review of attachment 821600 [details] [diff] [review]:
-----------------------------------------------------------------

::: content/svg/content/src/SVGPathSegUtils.cpp
@@ +382,3 @@
>                                  aArgs[3] != 0, aArgs[4] != 0);
>      while (converter.GetNextSegment(&bez[1], &bez[2], &bez[3])) {
> +      Point moz2dbez[4] = { ToPoint(bez[0]), ToPoint(bez[1]),

I don't like the name "moz2dbez", but I assume it will go away soon once nsSVGArcConverter is converted to use gfx::Points.
Attachment #821600 - Flags: review?(cam) → review+
Blocks: 930455
Blocks: 703159
https://hg.mozilla.org/mozilla-central/rev/36f6d6b62494
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: