Searched refs:offsetf (Results 1 – 1 of 1) sorted by relevance
937 float offsetf = roundf((static_cast<float>(clipRect.x0) - srcRect.x0) * ratio); in ClipSrcRect() local938 int offset = static_cast<int>(offsetf); in ClipSrcRect()947 srcRect.x0 += offsetf / ratio; in ClipSrcRect()952 float offsetf = roundf((srcRect.x1 - static_cast<float>(clipRect.x1)) * ratio); in ClipSrcRect() local953 int offset = static_cast<int>(offsetf); in ClipSrcRect()962 srcRect.x1 -= offsetf / ratio; in ClipSrcRect()967 float offsetf = roundf((static_cast<float>(clipRect.y0) - srcRect.y0) * ratio); in ClipSrcRect() local968 int offset = static_cast<int>(offsetf); in ClipSrcRect()977 srcRect.y0 += offsetf / ratio; in ClipSrcRect()982 float offsetf = roundf((srcRect.y1 - static_cast<float>(clipRect.y1)) * ratio); in ClipSrcRect() local[all …]