Exemplo n.º 1
0
void RenderSVGText::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationState* paintInvalidationState) const
{
    FloatRect paintInvalidationRect = rect;
    paintInvalidationRect.inflate(style()->outlineWidth());
    computeFloatRectForPaintInvalidation(paintInvalidationContainer, paintInvalidationRect, paintInvalidationState);
    rect = enclosingLayoutRect(paintInvalidationRect);
}
Exemplo n.º 2
0
void RenderSVGText::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, bool fixed) const
{
    FloatRect repaintRect = rect;
    computeFloatRectForPaintInvalidation(paintInvalidationContainer, repaintRect, fixed);
    rect = enclosingLayoutRect(repaintRect);
}