Lines Matching defs:matrix
29 #include "matrix.h"
141 /* Pre-compute rotation matrix entries */
173 /* Pre-compute rotation matrix entries */
231 struct matrix matrix;
237 matrix_load_identity(&matrix);
238 matrix_scale(&matrix, 1.f, arc->a/arc->b);
239 matrix_rotate(&matrix, -arc->theta);
240 matrix_map_point(&matrix,
243 matrix_map_point(&matrix,
246 matrix_map_point(&matrix,
251 debug_printf("Matrix 3 [%f, %f, %f| %f, %f, %f| %f, %f, %f]\n",
252 matrix.m[0], matrix.m[1], matrix.m[2],
253 matrix.m[3], matrix.m[4], matrix.m[5],
254 matrix.m[6], matrix.m[7], matrix.m[8]);
555 struct matrix *matrix)
567 matrix_map_point(matrix, x, y, &x, &y);
574 matrix_map_point(matrix, x, y, &x, &y);
602 matrix_map_point(matrix, x, y, &x, &y);
647 bezier_transform(&bezier, matrix);
657 struct matrix *matrix)
666 arc_to_beziers(arc, cb, matrix);
671 struct matrix *matrix)
680 arc_to_beziers(arc, cb, matrix);
685 struct matrix *matrix)
694 arc_to_beziers(arc, cb, matrix);
699 struct matrix *matrix)
708 arc_to_beziers(arc, cb, matrix);