Lines Matching defs:mat
283 struct matrix mat;
284 matrix_load_identity(&mat);
286 matrix_translate(&mat, -paint->gradient.linear.coords[0], -paint->gradient.linear.coords[1]);
287 matrix_mult(&mat, inv);
289 map[8] = mat.m[0]; map[9] = mat.m[3]; map[10] = mat.m[6]; map[11] = 0.f;
290 map[12] = mat.m[1]; map[13] = mat.m[4]; map[14] = mat.m[7]; map[15] = 0.f;
291 map[16] = mat.m[2]; map[17] = mat.m[5]; map[18] = mat.m[8]; map[19] = 0.f;
339 struct matrix mat;
340 matrix_load_identity(&mat);
341 matrix_translate(&mat, -focal[0], -focal[1]);
342 matrix_mult(&mat, inv);
344 map[8] = mat.m[0]; map[9] = mat.m[3]; map[10] = mat.m[6]; map[11] = 0.f;
345 map[12] = mat.m[1]; map[13] = mat.m[4]; map[14] = mat.m[7]; map[15] = 0.f;
346 map[16] = mat.m[2]; map[17] = mat.m[5]; map[18] = mat.m[8]; map[19] = 0.f;
368 struct matrix mat;
370 memcpy(&mat, inv, sizeof(*inv));
372 map[8] = mat.m[0]; map[9] = mat.m[3]; map[10] = mat.m[6]; map[11] = 0.f;
373 map[12] = mat.m[1]; map[13] = mat.m[4]; map[14] = mat.m[7]; map[15] = 0.f;
374 map[16] = mat.m[2]; map[17] = mat.m[5]; map[18] = mat.m[8]; map[19] = 0.f;
730 const struct matrix *mat,
738 paint_linear_gradient_buffer(paint, mat, buffer);
741 paint_radial_gradient_buffer(paint, mat, buffer);
744 paint_pattern_buffer(paint, mat, buffer);