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.cpp685 static inline IntRect areaCastingShadowInHole(const IntRect& holeRect, int shadowBlur, int shadowSp… in areaCastingShadowInHole() argument
687 IntRect bounds(holeRect); in areaCastingShadowInHole()
701 IntRect holeRect(rect.rect()); in drawInnerShadow() local
702 holeRect.inflate(-shadowSpread); in drawInnerShadow()
704 if (holeRect.isEmpty()) { in drawInnerShadow()
713 holeRect.move(-max(shadowOffset.width(), 0) - shadowBlur, 0); in drawInnerShadow()
714 holeRect.setWidth(holeRect.width() + max(shadowOffset.width(), 0) + shadowBlur); in drawInnerShadow()
717 holeRect.move(0, -max(shadowOffset.height(), 0) - shadowBlur); in drawInnerShadow()
718 holeRect.setHeight(holeRect.height() + max(shadowOffset.height(), 0) + shadowBlur); in drawInnerShadow()
721 holeRect.setWidth(holeRect.width() - min(shadowOffset.width(), 0) + shadowBlur); in drawInnerShadow()
[all …]