There are several APIs that could be made public to improve usability. For example, PathBuilder::cubic_to_pt is currently pub(crate), but it's particularly convenient when the control points are the results of complex manipulations, as it allows passing these point values directly. In contrast, cubic_to requires destructuring points into individual coordinates, which forces me to create temporary variables.
Is there any specific reason why these APIs cannot be public?
There are several APIs that could be made public to improve usability. For example,
PathBuilder::cubic_to_ptis currentlypub(crate), but it's particularly convenient when the control points are the results of complex manipulations, as it allows passing these point values directly. In contrast,cubic_torequires destructuring points into individual coordinates, which forces me to create temporary variables.Is there any specific reason why these APIs cannot be public?