Lines Matching refs:ox

277 static INLINE void map_if_relative(VGfloat ox, VGfloat oy,  in map_if_relative()  argument
283 *x += ox; in map_if_relative()
291 VGfloat ox, VGfloat oy, in close_polygon() argument
294 if (!floatsEqual(sx, ox) || in close_polygon()
364 VGfloat sx, sy, px, py, ox, oy; in path_get_fill_polygons() local
388 sx = sy = px = py = ox = oy = 0.f; in path_get_fill_polygons()
400 close_polygon(current, sx, sy, ox, oy, matrix); in path_get_fill_polygons()
401 ox = sx; in path_get_fill_polygons()
407 close_polygon(current, sx, sy, ox, oy, matrix); in path_get_fill_polygons()
414 map_if_relative(ox, oy, relative, &x0, &y0); in path_get_fill_polygons()
417 ox = x0; in path_get_fill_polygons()
428 map_if_relative(ox, oy, relative, &x0, &y0); in path_get_fill_polygons()
429 ox = x0; in path_get_fill_polygons()
440 map_if_relative(ox, oy, relative, &x0, 0); in path_get_fill_polygons()
441 ox = x0; in path_get_fill_polygons()
449 x0 = ox; in path_get_fill_polygons()
451 map_if_relative(ox, oy, relative, 0, &y0); in path_get_fill_polygons()
461 x0 = ox; in path_get_fill_polygons()
469 map_if_relative(ox, oy, relative, &x1, &y1); in path_get_fill_polygons()
470 map_if_relative(ox, oy, relative, &x2, &y2); in path_get_fill_polygons()
471 map_if_relative(ox, oy, relative, &x3, &y3); in path_get_fill_polygons()
472 ox = x3; in path_get_fill_polygons()
489 x0 = ox; in path_get_fill_polygons()
495 map_if_relative(ox, oy, relative, &x1, &y1); in path_get_fill_polygons()
496 map_if_relative(ox, oy, relative, &x3, &y3); in path_get_fill_polygons()
505 ox = x3; in path_get_fill_polygons()
520 x0 = ox; in path_get_fill_polygons()
522 x1 = 2*ox-px; in path_get_fill_polygons()
526 map_if_relative(ox, oy, relative, &x3, &y3); in path_get_fill_polygons()
535 ox = x3; in path_get_fill_polygons()
550 x0 = ox; in path_get_fill_polygons()
552 x1 = 2*ox-px; in path_get_fill_polygons()
558 map_if_relative(ox, oy, relative, &x2, &y2); in path_get_fill_polygons()
559 map_if_relative(ox, oy, relative, &x3, &y3); in path_get_fill_polygons()
560 ox = x3; in path_get_fill_polygons()
582 x0 = ox; in path_get_fill_polygons()
589 map_if_relative(ox, oy, relative, &x1, &y1); in path_get_fill_polygons()
598 ox = x1; in path_get_fill_polygons()
611 close_polygon(current, sx, sy, ox, oy, matrix); in path_get_fill_polygons()
682 p.sx = p.sy = p.px = p.py = p.ox = p.oy = 0.f; in path_for_each_segment()
699 map_if_relative(p.ox, p.oy, relative, &data[0], &data[1]); in path_for_each_segment()
703 p.ox = data[0]; in path_for_each_segment()
710 map_if_relative(p.ox, p.oy, relative, &data[0], &data[1]); in path_for_each_segment()
712 p.ox = data[0]; in path_for_each_segment()
719 map_if_relative(p.ox, p.oy, relative, &data[0], 0); in path_for_each_segment()
723 p.ox = data[0]; in path_for_each_segment()
730 map_if_relative(p.ox, p.oy, relative, 0, &data[0]); in path_for_each_segment()
733 data[0] = p.ox; in path_for_each_segment()
735 p.ox = data[0]; in path_for_each_segment()
742 map_if_relative(p.ox, p.oy, relative, &data[0], &data[1]); in path_for_each_segment()
743 map_if_relative(p.ox, p.oy, relative, &data[2], &data[3]); in path_for_each_segment()
744 map_if_relative(p.ox, p.oy, relative, &data[4], &data[5]); in path_for_each_segment()
748 p.ox = data[4]; in path_for_each_segment()
754 map_if_relative(p.ox, p.oy, relative, &data[0], &data[1]); in path_for_each_segment()
755 map_if_relative(p.ox, p.oy, relative, &data[2], &data[3]); in path_for_each_segment()
759 p.ox = data[2]; in path_for_each_segment()
765 map_if_relative(p.ox, p.oy, relative, &data[0], &data[1]); in path_for_each_segment()
767 p.px = 2*p.ox-p.px; in path_for_each_segment()
769 p.ox = data[2]; in path_for_each_segment()
775 map_if_relative(p.ox, p.oy, relative, &data[0], &data[1]); in path_for_each_segment()
776 map_if_relative(p.ox, p.oy, relative, &data[2], &data[3]); in path_for_each_segment()
780 p.ox = data[2]; in path_for_each_segment()
789 map_if_relative(p.ox, p.oy, relative, &data[3], &data[4]); in path_for_each_segment()
792 p.ox, p.oy, data[3], data[4], data[0], data[1], data[2]); in path_for_each_segment()
795 p.ox = data[3]; in path_for_each_segment()
875 pd->ox, pd->oy, data[3], data[4], in transform_cb()
952 VGfloat px, py, ox, oy, sx, sy; member
964 pd->ox = pd->sx; in normalize_coords()
970 map_if_relative(pd->ox, pd->oy, relative, &data[0], &data[1]); in normalize_coords()
973 pd->ox = data[0]; in normalize_coords()
982 map_if_relative(pd->ox, pd->oy, relative, &data[0], &data[1]); in normalize_coords()
983 pd->ox = data[0]; in normalize_coords()
992 map_if_relative(pd->ox, pd->oy, relative, &data[0], 0); in normalize_coords()
994 pd->ox = data[0]; in normalize_coords()
1003 map_if_relative(pd->ox, pd->oy, relative, 0, &data[0]); in normalize_coords()
1005 data[0] = pd->ox; in normalize_coords()
1006 pd->ox = data[0]; in normalize_coords()
1015 map_if_relative(pd->ox, pd->oy, relative, &data[0], &data[1]); in normalize_coords()
1016 map_if_relative(pd->ox, pd->oy, relative, &data[2], &data[3]); in normalize_coords()
1017 map_if_relative(pd->ox, pd->oy, relative, &data[4], &data[5]); in normalize_coords()
1020 pd->ox = data[4]; in normalize_coords()
1029 x0 = pd->ox; in normalize_coords()
1035 map_if_relative(pd->ox, pd->oy, relative, &x1, &y1); in normalize_coords()
1036 map_if_relative(pd->ox, pd->oy, relative, &x3, &y3); in normalize_coords()
1045 pd->ox = x3; in normalize_coords()
1060 x0 = pd->ox; in normalize_coords()
1062 x1 = 2 * pd->ox - pd->px; in normalize_coords()
1066 map_if_relative(pd->ox, pd->oy, relative, &x3, &y3); in normalize_coords()
1075 pd->ox = x3; in normalize_coords()
1090 x0 = pd->ox; in normalize_coords()
1092 x1 = 2*pd->ox-pd->px; in normalize_coords()
1098 map_if_relative(pd->ox, pd->oy, relative, &x2, &y2); in normalize_coords()
1099 map_if_relative(pd->ox, pd->oy, relative, &x3, &y3); in normalize_coords()
1100 pd->ox = x3; in normalize_coords()
1119 map_if_relative(pd->ox, pd->oy, relative, &data[3], &data[4]); in normalize_coords()
1120 pd->ox = data[3]; in normalize_coords()
1233 VGfloat sx, sy, px, py, ox, oy; in path_create_stroke() local
1264 sx = sy = px = py = ox = oy = 0.f; in path_create_stroke()
1290 map_if_relative(ox, oy, relative, &x0, &y0); in path_create_stroke()
1293 ox = x0; in path_create_stroke()
1304 map_if_relative(ox, oy, relative, &x0, &y0); in path_create_stroke()
1305 ox = x0; in path_create_stroke()
1316 map_if_relative(ox, oy, relative, &x0, 0); in path_create_stroke()
1317 ox = x0; in path_create_stroke()
1325 x0 = ox; in path_create_stroke()
1327 map_if_relative(ox, oy, relative, 0, &y0); in path_create_stroke()
1336 x0 = ox; in path_create_stroke()
1344 map_if_relative(ox, oy, relative, &x1, &y1); in path_create_stroke()
1345 map_if_relative(ox, oy, relative, &x2, &y2); in path_create_stroke()
1346 map_if_relative(ox, oy, relative, &x3, &y3); in path_create_stroke()
1347 if (floatsEqual(x1, ox) && floatsEqual(y1, oy) && in path_create_stroke()
1352 } else if (floatsEqual(x3, ox) && floatsEqual(y3, oy)) { in path_create_stroke()
1354 ox = x3; in path_create_stroke()
1360 ox = x3; in path_create_stroke()
1374 x0 = ox; in path_create_stroke()
1380 map_if_relative(ox, oy, relative, &x1, &y1); in path_create_stroke()
1381 map_if_relative(ox, oy, relative, &x3, &y3); in path_create_stroke()
1390 if (floatsEqual(x1, ox) && floatsEqual(y1, oy) && in path_create_stroke()
1395 } else if (floatsEqual(x3, ox) && floatsEqual(y3, oy)) { in path_create_stroke()
1397 ox = x3; in path_create_stroke()
1403 ox = x3; in path_create_stroke()
1415 x0 = ox; in path_create_stroke()
1417 x1 = 2*ox-px; in path_create_stroke()
1421 map_if_relative(ox, oy, relative, &x3, &y3); in path_create_stroke()
1430 if (floatsEqual(x1, ox) && floatsEqual(y1, oy) && in path_create_stroke()
1435 } else if (floatsEqual(x3, ox) && floatsEqual(y3, oy)) { in path_create_stroke()
1437 ox = x3; in path_create_stroke()
1443 ox = x3; in path_create_stroke()
1455 x0 = ox; in path_create_stroke()
1457 x1 = 2*ox-px; in path_create_stroke()
1463 map_if_relative(ox, oy, relative, &x2, &y2); in path_create_stroke()
1464 map_if_relative(ox, oy, relative, &x3, &y3); in path_create_stroke()
1465 if (floatsEqual(x1, ox) && floatsEqual(y1, oy) && in path_create_stroke()
1470 } else if (floatsEqual(x3, ox) && floatsEqual(y3, oy)) { in path_create_stroke()
1472 ox = x3; in path_create_stroke()
1478 ox = x3; in path_create_stroke()
1498 x0 = ox; in path_create_stroke()
1505 map_if_relative(ox, oy, relative, &x1, &y1); in path_create_stroke()
1506 if (floatsEqual(x1, ox) && floatsEqual(y1, oy)) { in path_create_stroke()
1508 ox = x1; in path_create_stroke()
1518 ox = x1; in path_create_stroke()
1719 VGfloat ox, oy; in path_bounding_rect() local
1738 ox = iter.ox; in path_bounding_rect()
1748 VGfloat line[4] = {ox, oy, coords[0], coords[1]}; in path_bounding_rect()
1755 bezier_init(&bezier, ox, oy, in path_bounding_rect()
1774 ox, oy, coords[3], coords[4], in path_bounding_rect()
1802 VGfloat ox, oy; in path_length() local
1815 ox = iter.ox; in path_length()
1828 VGfloat line[4] = {ox, oy, iter.sx, iter.sy}; in path_length()
1833 VGfloat line[4] = {ox, oy, coords[0], coords[1]}; in path_length()
1839 bezier_init(&bezier, ox, oy, in path_length()
1857 ox, oy, coords[3], coords[4], in path_length()
1895 VGfloat line[4] = {prev_iter.ox, prev_iter.oy, iter.sx, iter.sy}; in path_point_segment()
1910 VGfloat line[4] = {prev_iter.ox, prev_iter.oy, coords[0], coords[1]}; in path_point_segment()
1926 bezier_init(&bezier, prev_iter.ox, prev_iter.oy, in path_point_segment()
1949 prev_iter.ox, prev_iter.oy, coords[3], coords[4], in path_point_segment()
2025 VGfloat line[4] = {prev_iter.ox, prev_iter.oy, iter.sx, iter.sy}; in path_point()
2031 VGfloat line[4] = {prev_iter.ox, prev_iter.oy, coords[0], coords[1]}; in path_point()
2038 bezier_init(&bezier, prev_iter.ox, prev_iter.oy, in path_point()
2056 prev_iter.ox, prev_iter.oy, coords[3], coords[4], in path_point()