Closed
Bug 340451
Opened 18 years ago
Closed 18 years ago
Remove nsISVGRendererRegion
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: tor, Assigned: tor)
References
Details
Attachments
(2 files, 1 obsolete file)
91.46 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
91.62 KB,
patch
|
Details | Diff | Splinter Review |
Attachment #224489 -
Flags: review?(roc)
Comment 2•18 years ago
|
||
Could we take this opportunity to replace if (!text.Length()) and if (text.Length() == 0) code by if (text.IsEmpty()) in nsSVGCairoGlyphGeometry.cpp? There are 3 instances of this. I was going to slip this into bug 339039 but I think it is better done here as you are changing this code anyway. I can submit a new patch for bug 339039 or you can just ignore the nsSVGCairoGlyphGeometry.cpp changes if you wish. Alternatively I could raise another bug after you have checked this change in.
I'd prefer to keep unrelated changes seperate from either of those bugs for the sake of cvs history.
Attachment #224489 -
Attachment is obsolete: true
Attachment #224708 -
Flags: review?(roc)
Attachment #224489 -
Flags: review?(roc)
nsRect is integers (currently). Don't we want to keep these rects using floats? If so, I think you should define nsFloatRect in nsRect.h.
The covered region is only used for screen coverage information in invalidation and early hit rejection, so it seems that integers would be a natural fit. The bounding box calculation on the other hand does need floating point storage.
Comment on attachment 224708 [details] [diff] [review] merge to tip Right, OK. Document that nsSVGOuterSVGFrame::InvalidateRect takes a rect in pixels. I'd prefer InflateRect to be named something else ... perhaps ToBoundingPixelRect. + aRect *= GetTwipsPerPx(); + vm->UpdateView(view, aRect, NS_VMREFRESH_NO_SYNC); I think you should call ScaleRoundOut here.
Attachment #224708 -
Flags: superreview+
Attachment #224708 -
Flags: review?(roc)
Attachment #224708 -
Flags: review+
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•