-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
font-edit: Improve the type descriptions (#29)
Currently, there is a lack of description for geometric types and functions. pt_t is used to describe a geometric object—a point, while pts_t is used to describe a dynamically configurable array. n is used to describe the current number of configured points, and s is used to describe the maximum configurable memory limit, measured in bytes. spline_t is used to describe cubic spline interpolation based on four points. new_pts, dispose_pts, and add_pt are methods for the pt_t and pts_t types. distance_to_point, distance_to_line, and distance_to_segment are used to describe the distance relationships between geometric objects. lerp is a function for computing linear interpolation points. fit is used to compute a spline with a specific error tolerance.
- Loading branch information
Showing
2 changed files
with
114 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters