Searched refs:layerCropRect (Results 1 – 2 of 2) sorted by relevance
884 FloatRect layerCropRect = snapshot.croppedBufferSize.toFloatRect(); in updateRoundedCorner() local886 RoundedCornerState layerSettings(layerCropRect, radius); in updateRoundedCorner()887 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && !layerCropRect.isEmpty(); in updateRoundedCorner()893 if (parentRoundedCorner.cropRect.left > layerCropRect.left && in updateRoundedCorner()894 parentRoundedCorner.cropRect.top > layerCropRect.top && in updateRoundedCorner()895 parentRoundedCorner.cropRect.right < layerCropRect.right && in updateRoundedCorner()896 parentRoundedCorner.cropRect.bottom < layerCropRect.bottom) { in updateRoundedCorner()
2089 Rect layerCropRect = getCroppedBufferSize(getDrawingState()); in getRoundedCornerState() local2091 RoundedCornerState layerSettings(layerCropRect.toFloatRect(), radius); in getRoundedCornerState()2092 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && layerCropRect.isValid(); in getRoundedCornerState()2098 if (parentSettings.cropRect.left > layerCropRect.left && in getRoundedCornerState()2099 parentSettings.cropRect.top > layerCropRect.top && in getRoundedCornerState()2100 parentSettings.cropRect.right < layerCropRect.right && in getRoundedCornerState()2101 parentSettings.cropRect.bottom < layerCropRect.bottom) { in getRoundedCornerState()