[Webkit-unassigned] [Bug 53512] [CG] getBBox() on a SVGPathElement with curves incorrectly includes control points
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 28 18:00:30 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=53512
--- Comment #5 from Nikolas Zimmermann <zimmermann at kde.org> 2011-07-28 18:00:30 PST ---
Okay I found the inconsistency, any theories? :-)
WebCore::Path::boundingRect (this=0x11a38aec) at /Users/nzimmermann/Coding/WebKit/Source/WebCore/platform/graphics/cg/PathCG.cpp:166
166 return CGPathGetBoundingBox(m_path);
(gdb) p (CGRect)CGPathGetPathBoundingBox(m_path)
$91 = {
origin = {
x = 126.869362,
y = 154.158096
},
size = {
width = 122.646141,
height = 113.340134
}
}
(gdb) s
WebCore::FloatRect::FloatRect (this=0xbfffbd70, r=@0xbfffbd40) at /Users/nzimmermann/Coding/WebKit/Source/WebCore/platform/graphics/cg/FloatRectCG.cpp:36
36 FloatRect::FloatRect(const CGRect& r) : m_location(r.origin), m_size(r.size)
(gdb) p r
$92 = (const CGRect &) @0xbfffbd40: {
origin = {
x = 110,
y = 125
},
size = {
width = 163,
height = 168
}
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list