Home
last modified time | relevance | path

Searched refs:holeRect (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp610 static inline IntRect areaCastingShadowInHole(const IntRect& holeRect, int shadowBlur, int shadowSp… in areaCastingShadowInHole() argument
612 IntRect bounds(holeRect); in areaCastingShadowInHole()
629 IntRect holeRect(rect.rect()); in drawInnerShadow() local
630 holeRect.inflate(-shadowSpread); in drawInnerShadow()
632 if (holeRect.isEmpty()) { in drawInnerShadow()
641 holeRect.move(-max(shadowOffset.width(), 0) - shadowBlur, 0); in drawInnerShadow()
642 holeRect.setWidth(holeRect.width() + max(shadowOffset.width(), 0) + shadowBlur); in drawInnerShadow()
645 holeRect.move(0, -max(shadowOffset.height(), 0) - shadowBlur); in drawInnerShadow()
646 holeRect.setHeight(holeRect.height() + max(shadowOffset.height(), 0) + shadowBlur); in drawInnerShadow()
649 holeRect.setWidth(holeRect.width() - min(shadowOffset.width(), 0) + shadowBlur); in drawInnerShadow()
[all …]