Searched refs:layerCropRect (Results 1 – 2 of 2) sorted by relevance
939 FloatRect layerCropRect = snapshot.croppedBufferSize.toFloatRect(); in updateRoundedCorner() local941 RoundedCornerState layerSettings(layerCropRect, radius); in updateRoundedCorner()942 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && !layerCropRect.isEmpty(); in updateRoundedCorner()948 if (parentRoundedCorner.cropRect.left > layerCropRect.left && in updateRoundedCorner()949 parentRoundedCorner.cropRect.top > layerCropRect.top && in updateRoundedCorner()950 parentRoundedCorner.cropRect.right < layerCropRect.right && in updateRoundedCorner()951 parentRoundedCorner.cropRect.bottom < layerCropRect.bottom) { in updateRoundedCorner()
2108 Rect layerCropRect = getCroppedBufferSize(getDrawingState()); in getRoundedCornerState() local2110 RoundedCornerState layerSettings(layerCropRect.toFloatRect(), radius); in getRoundedCornerState()2111 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && layerCropRect.isValid(); in getRoundedCornerState()2117 if (parentSettings.cropRect.left > layerCropRect.left && in getRoundedCornerState()2118 parentSettings.cropRect.top > layerCropRect.top && in getRoundedCornerState()2119 parentSettings.cropRect.right < layerCropRect.right && in getRoundedCornerState()2120 parentSettings.cropRect.bottom < layerCropRect.bottom) { in getRoundedCornerState()