Lines Matching refs:x0
246 int x0, y0, x2, y2, r; in drawarc() local
248 x0 = hpos + dx1; /* center */ in drawarc()
250 x2 = x0 + dx2; /* "to" */ in drawarc()
253 conicarc(x0, -y0, hpos, -vpos, x2, -y2, r, r); in drawarc()
275 conicarc(x, y, x0, y0, x1, y1, a, b) in conicarc() argument
307 radius = sqrt((float)(sqr(x0 - x) + sqr(y0 - y))); in conicarc()
311 xc = x0; in conicarc()
318 slope = atan2((double)(y0 - y), (double)(x0 - x) ); in conicarc()
319 if (slope == 0.0 && x0 < x) in conicarc()
321 x0 = x + radius * cos(slope) + 0.5; in conicarc()
329 xs = x0 - x; in conicarc()