• Home
  • Raw
  • Download

Lines Matching refs:oy

277 static INLINE void map_if_relative(VGfloat ox, VGfloat oy,  in map_if_relative()  argument
285 *y += oy; in map_if_relative()
291 VGfloat ox, VGfloat oy, in close_polygon() argument
295 !floatsEqual(sy, oy)) { 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()
402 oy = sy; 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()
418 oy = y0; in path_get_fill_polygons()
428 map_if_relative(ox, oy, relative, &x0, &y0); in path_get_fill_polygons()
430 oy = y0; in path_get_fill_polygons()
439 y0 = oy; in path_get_fill_polygons()
440 map_if_relative(ox, oy, relative, &x0, 0); in path_get_fill_polygons()
451 map_if_relative(ox, oy, relative, 0, &y0); in path_get_fill_polygons()
452 oy = y0; in path_get_fill_polygons()
462 y0 = oy; 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()
473 oy = y3; in path_get_fill_polygons()
490 y0 = oy; 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()
506 oy = y3; in path_get_fill_polygons()
521 y0 = oy; in path_get_fill_polygons()
523 y1 = 2*oy-py; in path_get_fill_polygons()
526 map_if_relative(ox, oy, relative, &x3, &y3); in path_get_fill_polygons()
536 oy = y3; in path_get_fill_polygons()
551 y0 = oy; in path_get_fill_polygons()
553 y1 = 2*oy-py; 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()
561 oy = y3; in path_get_fill_polygons()
583 y0 = oy; in path_get_fill_polygons()
589 map_if_relative(ox, oy, relative, &x1, &y1); in path_get_fill_polygons()
599 oy = y1; 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()
704 p.oy = data[1]; in path_for_each_segment()
710 map_if_relative(p.ox, p.oy, relative, &data[0], &data[1]); in path_for_each_segment()
713 p.oy = data[1]; in path_for_each_segment()
719 map_if_relative(p.ox, p.oy, relative, &data[0], 0); in path_for_each_segment()
721 data[1] = p.oy; in path_for_each_segment()
724 p.oy = data[1]; in path_for_each_segment()
730 map_if_relative(p.ox, p.oy, relative, 0, &data[0]); in path_for_each_segment()
736 p.oy = data[1]; 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()
749 p.oy = data[5]; 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()
760 p.oy = data[3]; in path_for_each_segment()
765 map_if_relative(p.ox, p.oy, relative, &data[0], &data[1]); in path_for_each_segment()
768 p.py = 2*p.oy-p.py; in path_for_each_segment()
770 p.oy = data[3]; 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()
781 p.oy = data[3]; 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()
796 p.oy = data[4]; 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
965 pd->oy = pd->sy; in normalize_coords()
970 map_if_relative(pd->ox, pd->oy, relative, &data[0], &data[1]); in normalize_coords()
974 pd->oy = data[1]; in normalize_coords()
982 map_if_relative(pd->ox, pd->oy, relative, &data[0], &data[1]); in normalize_coords()
984 pd->oy = data[1]; in normalize_coords()
992 map_if_relative(pd->ox, pd->oy, relative, &data[0], 0); in normalize_coords()
993 data[1] = pd->oy; in normalize_coords()
995 pd->oy = data[1]; in normalize_coords()
1003 map_if_relative(pd->ox, pd->oy, relative, 0, &data[0]); in normalize_coords()
1007 pd->oy = data[1]; 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()
1021 pd->oy = data[5]; in normalize_coords()
1030 y0 = pd->oy; 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()
1046 pd->oy = y3; in normalize_coords()
1061 y0 = pd->oy; in normalize_coords()
1063 y1 = 2 * pd->oy - pd->py; in normalize_coords()
1066 map_if_relative(pd->ox, pd->oy, relative, &x3, &y3); in normalize_coords()
1076 pd->oy = y3; in normalize_coords()
1091 y0 = pd->oy; in normalize_coords()
1093 y1 = 2*pd->oy-pd->py; 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()
1101 pd->oy = y3; in normalize_coords()
1119 map_if_relative(pd->ox, pd->oy, relative, &data[3], &data[4]); in normalize_coords()
1121 pd->oy = data[4]; 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()
1294 oy = y0; in path_create_stroke()
1304 map_if_relative(ox, oy, relative, &x0, &y0); in path_create_stroke()
1306 oy = y0; in path_create_stroke()
1315 y0 = oy; in path_create_stroke()
1316 map_if_relative(ox, oy, relative, &x0, 0); in path_create_stroke()
1327 map_if_relative(ox, oy, relative, 0, &y0); in path_create_stroke()
1328 oy = y0; in path_create_stroke()
1337 y0 = oy; 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()
1355 oy = y3; in path_create_stroke()
1361 oy = y3; in path_create_stroke()
1375 y0 = oy; 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()
1398 oy = y3; in path_create_stroke()
1404 oy = y3; in path_create_stroke()
1416 y0 = oy; in path_create_stroke()
1418 y1 = 2*oy-py; 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()
1438 oy = y3; in path_create_stroke()
1444 oy = y3; in path_create_stroke()
1456 y0 = oy; in path_create_stroke()
1458 y1 = 2*oy-py; 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()
1473 oy = y3; in path_create_stroke()
1479 oy = y3; in path_create_stroke()
1499 y0 = oy; 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()
1509 oy = y1; in path_create_stroke()
1519 oy = y1; in path_create_stroke()
1719 VGfloat ox, oy; in path_bounding_rect() local
1739 oy = iter.oy; 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
1816 oy = iter.oy; 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()