Lines Matching refs:cy
391 NSVGcoordinate cx, cy, r, fx, fy; member
890 float cx, cy, fx, fy, r; in nsvg__createGradient() local
892 cy = nsvg__convertToPixels(p, data->radial.cy, oy, sh); in nsvg__createGradient()
899 grad->xform[4] = cx; grad->xform[5] = cy; in nsvg__createGradient()
2019 float x1, y1, x2, y2, cx, cy; in nsvg__pathQuadBezTo() local
2026 cy = *cpy + args[1]; in nsvg__pathQuadBezTo()
2031 cy = args[1]; in nsvg__pathQuadBezTo()
2038 cy1 = y1 + 2.0f/3.0f*(cy - y1); in nsvg__pathQuadBezTo()
2040 cy2 = y2 + 2.0f/3.0f*(cy - y2); in nsvg__pathQuadBezTo()
2045 *cpy2 = cy; in nsvg__pathQuadBezTo()
2053 float x1, y1, x2, y2, cx, cy; in nsvg__pathQuadBezShortTo() local
2067 cy = 2*y1 - *cpy2; in nsvg__pathQuadBezShortTo()
2071 cy1 = y1 + 2.0f/3.0f*(cy - y1); in nsvg__pathQuadBezShortTo()
2073 cy2 = y2 + 2.0f/3.0f*(cy - y2); in nsvg__pathQuadBezShortTo()
2078 *cpy2 = cy; in nsvg__pathQuadBezShortTo()
2103 float x1, y1, x2, y2, cx, cy, dx, dy, d; in nsvg__pathArcTo() local
2166 cy = (y1 + y2)/2.0f + sinrx*cxp + cosrx*cyp; in nsvg__pathArcTo()
2187 t[4] = cx; t[5] = cy; in nsvg__pathArcTo()
2405 float cy = 0.0f; in nsvg__parseCircle() local
2412 …if (strcmp(attr[i], "cy") == 0) cy = nsvg__parseCoordinate(p, attr[i+1], nsvg__actualOrigY(p), nsv… in nsvg__parseCircle()
2420 nsvg__moveTo(p, cx+r, cy); in nsvg__parseCircle()
2421 nsvg__cubicBezTo(p, cx+r, cy+r*NSVG_KAPPA90, cx+r*NSVG_KAPPA90, cy+r, cx, cy+r); in nsvg__parseCircle()
2422 nsvg__cubicBezTo(p, cx-r*NSVG_KAPPA90, cy+r, cx-r, cy+r*NSVG_KAPPA90, cx-r, cy); in nsvg__parseCircle()
2423 nsvg__cubicBezTo(p, cx-r, cy-r*NSVG_KAPPA90, cx-r*NSVG_KAPPA90, cy-r, cx, cy-r); in nsvg__parseCircle()
2424 nsvg__cubicBezTo(p, cx+r*NSVG_KAPPA90, cy-r, cx+r, cy-r*NSVG_KAPPA90, cx+r, cy); in nsvg__parseCircle()
2435 float cy = 0.0f; in nsvg__parseEllipse() local
2443 …if (strcmp(attr[i], "cy") == 0) cy = nsvg__parseCoordinate(p, attr[i+1], nsvg__actualOrigY(p), nsv… in nsvg__parseEllipse()
2453 nsvg__moveTo(p, cx+rx, cy); in nsvg__parseEllipse()
2454 nsvg__cubicBezTo(p, cx+rx, cy+ry*NSVG_KAPPA90, cx+rx*NSVG_KAPPA90, cy+ry, cx, cy+ry); in nsvg__parseEllipse()
2455 nsvg__cubicBezTo(p, cx-rx*NSVG_KAPPA90, cy+ry, cx-rx, cy+ry*NSVG_KAPPA90, cx-rx, cy); in nsvg__parseEllipse()
2456 nsvg__cubicBezTo(p, cx-rx, cy-ry*NSVG_KAPPA90, cx-rx*NSVG_KAPPA90, cy-ry, cx, cy-ry); in nsvg__parseEllipse()
2457 nsvg__cubicBezTo(p, cx+rx*NSVG_KAPPA90, cy-ry, cx+rx, cy-ry*NSVG_KAPPA90, cx+rx, cy); in nsvg__parseEllipse()
2583 grad->radial.cy = nsvg__coord(50.0f, NSVG_UNITS_PERCENT); in nsvg__parseGradient()
2604 grad->radial.cy = nsvg__parseCoordinateRaw(attr[i + 1]); in nsvg__parseGradient()