No description provided.
Attachment #8512667 - Flags: review?(longsonr) → review+
Comment on attachment 8512667 [details] [diff] [review] patch https://hg.mozilla.org/integration/mozilla-inbound/rev/b51051e5ac2e
Attachment #8512667 - Flags: checkin+
This provided a big perf improvement described in bug 554004 comment 28.
Lines, polygons and polylines could be done too by finding the min/max x/y values couldn't they?
To have tight bounds for polygons and polylines would be trickier with things like stroke-miterlimit, even without a transform. Combine that with a transform and it's a bit of work not to end up with bounds-of-transformed-bounds. I think we'd need to calculate all the vertices of the stroke _outline_, transform those, then find the min/max values.
Could restrict it to stuff without strokes to begin with.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.