Lines Matching refs:y

170     pt.x = SwCoord(nearbyint((v.x * cosv - v.y * sinv) * 64.0f));  in mathRotate()
171 pt.y = SwCoord(nearbyint((v.x * sinv + v.y * cosv) * 64.0f)); in mathRotate()
185 return SwFixed(tvg::atan2(TO_FLOAT(pt.y), TO_FLOAT(pt.x)) * (180.0f / MATH_PI) * 65536.0f); in mathAtan()
207 if (pt.x == 0) return abs(pt.y); in mathLength()
208 if (pt.y == 0) return abs(pt.x); in mathLength()
217 if (v.y < 0) v.y = -v.y; in mathLength()
218 return static_cast<SwFixed>((v.x > v.y) ? (v.x + v.y * 0.375f) : (v.y + v.x * 0.375f)); in mathLength()
236 base[6].y = base[3].y; in mathSplitCubic()
237 c = base[1].y; in mathSplitCubic()
238 d = base[2].y; in mathSplitCubic()
239 base[1].y = a = (base[0].y + c) >> 1; in mathSplitCubic()
240 base[5].y = b = (base[3].y + d) >> 1; in mathSplitCubic()
242 base[2].y = a = (a + c) >> 1; in mathSplitCubic()
243 base[4].y = b = (b + c) >> 1; in mathSplitCubic()
244 base[3].y = (a + b) >> 1; in mathSplitCubic()
253 base[1].y = (base[0].y + base[1].y) >> 1; in mathSplitLine()
271 auto tx = to->x * transform.e11 + to->y * transform.e12 + transform.e13; in mathTransform()
272 auto ty = to->x * transform.e21 + to->y * transform.e22 + transform.e23; in mathTransform()
281 clippee.max.y = (clippee.max.y < clipper.max.y) ? clippee.max.y : clipper.max.y; in mathClipBBox()
283 clippee.min.y = (clippee.min.y > clipper.min.y) ? clippee.min.y : clipper.min.y; in mathClipBBox()
286 if (clippee.max.x - clippee.min.x < 1 && clippee.max.y - clippee.min.y < 1) return false; in mathClipBBox()
289 if (clippee.min.x >= clipper.max.x || clippee.min.y >= clipper.max.y || in mathClipBBox()
290 clippee.max.x <= clipper.min.x || clippee.max.y <= clipper.min.y) return false; in mathClipBBox()
309 auto yMin = pt->y; in mathUpdateOutlineBBox()
310 auto yMax = pt->y; in mathUpdateOutlineBBox()
315 if (yMin > pt->y) yMin = pt->y; in mathUpdateOutlineBBox()
316 if (yMax < pt->y) yMax = pt->y; in mathUpdateOutlineBBox()
322 renderRegion.min.y = static_cast<SwCoord>(nearbyint(yMin / 64.0f)); in mathUpdateOutlineBBox()
323 renderRegion.max.y = static_cast<SwCoord>(nearbyint(yMax / 64.0f)); in mathUpdateOutlineBBox()
327 renderRegion.min.y = yMin >> 6; in mathUpdateOutlineBBox()
328 renderRegion.max.y = (yMax + 63) >> 6; in mathUpdateOutlineBBox()