Searched refs:SCALING_EPSILON (Results 1 – 6 of 6) sorted by relevance
745 #define SCALING_EPSILON _cairo_fixed_to_double(1) macro758 if (fabs (det * det - 1.0) < SCALING_EPSILON) { in _cairo_matrix_has_unity_scale()760 if (fabs (matrix->xy) < SCALING_EPSILON && in _cairo_matrix_has_unity_scale()761 fabs (matrix->yx) < SCALING_EPSILON) in _cairo_matrix_has_unity_scale()763 if (fabs (matrix->xx) < SCALING_EPSILON && in _cairo_matrix_has_unity_scale()764 fabs (matrix->yy) < SCALING_EPSILON) in _cairo_matrix_has_unity_scale()
554 #define SCALING_EPSILON 0.001 macro567 if (fabs(scaling_x)<SCALING_EPSILON) scaling_x = SCALING_EPSILON; in finalize_resizesel()568 if (fabs(scaling_y)<SCALING_EPSILON) scaling_y = SCALING_EPSILON; in finalize_resizesel()
2815 #define SCALING_EPSILON (1./256) macro2820 return (fabs(t->m[2][0]) < SCALING_EPSILON && in is_affine()2821 fabs(t->m[2][1]) < SCALING_EPSILON); in is_affine()2833 if (fabs (det * det - 1.0) < SCALING_EPSILON) { in affine_is_pixel_exact()2834 if (fabs(t->m[0][1]) < SCALING_EPSILON && in affine_is_pixel_exact()2835 fabs(t->m[1][0]) < SCALING_EPSILON) in affine_is_pixel_exact()2838 if (fabs(t->m[0][0]) < SCALING_EPSILON && in affine_is_pixel_exact()2839 fabs(t->m[1][1]) < SCALING_EPSILON) in affine_is_pixel_exact()