mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-07 08:50:38 +02:00
Make _cairo_matrix_compute_scale_factors void
Yet another function that cannot fail under any circumstances.
This commit is contained in:
parent
d5b35d7d76
commit
93776772ed
2 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue