Clarify how LayoutSVGResourceMarker's m_viewport interacts with refX/refY
Because refX and refY are in the coordinate space of each marker instance, they are included in markerTransformation() instead of being part of the marker viewport. As a result, only a viewport size is maintained in LayoutSVGResourceMarker. This patch makes this distinction a little clearer by refactoring m_viewport to m_viewportSize, as well as adding some comments. No new tests; no change in behavior. Review-Url: https://codereview.chromium.org/2567853002 Cr-Commit-Position: refs/heads/master@{#437803}
Showing
Please register or sign in to comment