Lines Matching refs:clipRect

876 …void Device::ClipDstRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX, bo…  in ClipDstRect()  argument
878 if(dstRect.x0 < clipRect.x0) in ClipDstRect()
880 …float offset = (static_cast<float>(clipRect.x0 - dstRect.x0) / static_cast<float>(dstRect.width())… in ClipDstRect()
889 dstRect.x0 = clipRect.x0; in ClipDstRect()
891 if(dstRect.x1 > clipRect.x1) in ClipDstRect()
893 …float offset = (static_cast<float>(dstRect.x1 - clipRect.x1) / static_cast<float>(dstRect.width())… in ClipDstRect()
902 dstRect.x1 = clipRect.x1; in ClipDstRect()
904 if(dstRect.y0 < clipRect.y0) in ClipDstRect()
906 …float offset = (static_cast<float>(clipRect.y0 - dstRect.y0) / static_cast<float>(dstRect.height()… in ClipDstRect()
915 dstRect.y0 = clipRect.y0; in ClipDstRect()
917 if(dstRect.y1 > clipRect.y1) in ClipDstRect()
919 …float offset = (static_cast<float>(dstRect.y1 - clipRect.y1) / static_cast<float>(dstRect.height()… in ClipDstRect()
928 dstRect.y1 = clipRect.y1; in ClipDstRect()
932 …void Device::ClipSrcRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX, bo… in ClipSrcRect() argument
934 if(srcRect.x0 < static_cast<float>(clipRect.x0)) in ClipSrcRect()
937 float offsetf = roundf((static_cast<float>(clipRect.x0) - srcRect.x0) * ratio); in ClipSrcRect()
949 if(srcRect.x1 > static_cast<float>(clipRect.x1)) in ClipSrcRect()
952 float offsetf = roundf((srcRect.x1 - static_cast<float>(clipRect.x1)) * ratio); in ClipSrcRect()
964 if(srcRect.y0 < static_cast<float>(clipRect.y0)) in ClipSrcRect()
967 float offsetf = roundf((static_cast<float>(clipRect.y0) - srcRect.y0) * ratio); in ClipSrcRect()
979 if(srcRect.y1 > static_cast<float>(clipRect.y1)) in ClipSrcRect()
982 float offsetf = roundf((srcRect.y1 - static_cast<float>(clipRect.y1)) * ratio); in ClipSrcRect()