Skip to content

Some convenient APIs don't have pub visibility #153

@unixzii

Description

@unixzii

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions