Lines Matching refs:rx
143 Result Shape::appendCircle(float cx, float cy, float rx, float ry) noexcept in appendCircle() argument
145 auto rxKappa = rx * PATH_KAPPA; in appendCircle()
149 pImpl->moveTo(cx + rx, cy); in appendCircle()
150 pImpl->cubicTo(cx + rx, cy + ryKappa, cx + rxKappa, cy + ry, cx, cy + ry); in appendCircle()
151 pImpl->cubicTo(cx - rxKappa, cy + ry, cx - rx, cy + ryKappa, cx - rx, cy); in appendCircle()
152 pImpl->cubicTo(cx - rx, cy - ryKappa, cx - rxKappa, cy - ry, cx, cy - ry); in appendCircle()
153 pImpl->cubicTo(cx + rxKappa, cy - ry, cx + rx, cy - ryKappa, cx + rx, cy); in appendCircle()
224 Result Shape::appendRect(float x, float y, float w, float h, float rx, float ry) noexcept in appendRect() argument
230 if (rx > halfW) rx = halfW; in appendRect()
234 if (rx == 0 && ry == 0) { in appendRect()
243 auto hrx = rx * PATH_KAPPA; in appendRect()
246 pImpl->moveTo(x + rx, y); in appendRect()
247 pImpl->lineTo(x + w - rx, y); in appendRect()
248 pImpl->cubicTo(x + w - rx + hrx, y, x + w, y + ry - hry, x + w, y + ry); in appendRect()
250 pImpl->cubicTo(x + w, y + h - ry + hry, x + w - rx + hrx, y + h, x + w - rx, y + h); in appendRect()
251 pImpl->lineTo(x + rx, y + h); in appendRect()
252 pImpl->cubicTo(x + rx - hrx, y + h, x, y + h - ry + hry, x, y + h - ry); in appendRect()
254 pImpl->cubicTo(x, y + ry - hry, x + rx - hrx, y, x + rx, y); in appendRect()