Make _cairo_matrix_compute_scale_factors void

Yet another function that cannot fail under any circumstances.
This commit is contained in:
Carl Worth 2007-04-09 17:15:33 -07:00
parent d5b35d7d76
commit 93776772ed
2 changed files with 2 additions and 4 deletions

View file

@ -495,7 +495,7 @@ _cairo_matrix_compute_determinant (const cairo_matrix_t *matrix,
}
/* Compute the amount that each basis vector is scaled by. */
cairo_status_t
void
_cairo_matrix_compute_scale_factors (const cairo_matrix_t *matrix,
double *sx, double *sy, int x_major)
{
@ -535,8 +535,6 @@ _cairo_matrix_compute_scale_factors (const cairo_matrix_t *matrix,
*sy = major;
}
}
return CAIRO_STATUS_SUCCESS;
}
cairo_bool_t

View file

@ -2260,7 +2260,7 @@ _cairo_matrix_transform_bounding_box (const cairo_matrix_t *matrix,
cairo_private void
_cairo_matrix_compute_determinant (const cairo_matrix_t *matrix, double *det);
cairo_private cairo_status_t
cairo_private void
_cairo_matrix_compute_scale_factors (const cairo_matrix_t *matrix,
double *sx, double *sy, int x_major);