Change name from msdf_shape_get_edge_counts to msdf_shape_get_edge_count for consistency

This commit is contained in:
KitsuneAlex 2024-05-03 02:05:33 +02:00
parent 021fc8af79
commit c565b18e9d
No known key found for this signature in database
GPG Key ID: 6B0CE864BB69B7D0
2 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ MSDF_API int msdf_shape_get_contour(msdf_shape_handle shape, const size_t index,
return MSDF_SUCCESS;
}
MSDF_API int msdf_shape_get_edge_counts(msdf_shape_handle shape, size_t* edge_count) {
MSDF_API int msdf_shape_get_edge_count(msdf_shape_handle shape, size_t* edge_count) {
if(shape == nullptr || edge_count == nullptr) {
return MSDF_ERR_INVALID_ARG;
}

View File

@ -146,7 +146,7 @@ MSDF_API int msdf_shape_get_bounds(msdf_shape_handle shape, msdf_bounds_t* bound
MSDF_API int msdf_shape_add_contour(msdf_shape_handle shape, msdf_contour_handle* contour);
MSDF_API int msdf_shape_get_contour_count(msdf_shape_handle shape, size_t* contour_count);
MSDF_API int msdf_shape_get_contour(msdf_shape_handle shape, size_t index, msdf_contour_handle* contours);
MSDF_API int msdf_shape_get_edge_counts(msdf_shape_handle shape, size_t* edge_count);
MSDF_API int msdf_shape_get_edge_count(msdf_shape_handle shape, size_t* edge_count);
MSDF_API int msdf_shape_has_inverse_y_axis(msdf_shape_handle shape, int* inverse_y_axis);
MSDF_API int msdf_shape_normalize(msdf_shape_handle shape);
MSDF_API int msdf_shape_validate(msdf_shape_handle shape, int* result);