Home | History | Annotate | Download | only in vega

Lines Matching refs:orig

330 static enum shift_result shift(const struct bezier *orig,
336 VGboolean p1_p2_equal = (orig->x1 == orig->x2 && orig->y1 == orig->y2);
337 VGboolean p2_p3_equal = (orig->x2 == orig->x3 && orig->y2 == orig->y3);
338 VGboolean p3_p4_equal = (orig->x3 == orig->x4 && orig->y3 == orig->y4);
346 points[np][0] = orig->x1;
347 points[np][1] = orig->y1;
351 points[np][0] = orig->x2;
352 points[np][1] = orig->y2;
357 points[np][0] = orig->x3;
358 points[np][1] = orig->y3;
363 points[np][0] = orig->x4;
364 points[np][1] = orig->y4;
390 bezier_bounds(orig, bounds);
392 float l = (orig->x1 - orig->x2)*(orig->x1 - orig->x2) +
393 (orig->y1 - orig->y2)*(orig->y1 - orig->y1) *
394 (orig->x3 - orig->x4)*(orig->x3 - orig->x4) +
395 (orig->y3 - orig->y4)*(orig->y3 - orig->y4);
396 float dot = (orig->x1 - orig->x2)*(orig->x3 - orig->x4) +
397 (orig->y1 - orig->y2)*(orig->y3 - orig->y4);
440 return good_offset(orig, shifted, offset, threshold);