mirror of https://github.com/Chlumsky/msdfgen.git
Change name from msdf_shape_get_edge_counts to msdf_shape_get_edge_count for consistency
This commit is contained in:
parent
021fc8af79
commit
c565b18e9d
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue