Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vector: add a way to modify Path by GeoM #3159

Closed
11 tasks
hajimehoshi opened this issue Nov 9, 2024 · 2 comments
Closed
11 tasks

vector: add a way to modify Path by GeoM #3159

hajimehoshi opened this issue Nov 9, 2024 · 2 comments
Labels
Milestone

Comments

@hajimehoshi
Copy link
Owner

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

What feature would you like to be added?

#3150 introduce new utility APIs DrawFilledPath and StrokePath, but there is no way to modify the destination positions of a path. Let's add an API to modify a path by GeoM, or return a new modified path by GeoM.

Why is this needed?

No response

@hajimehoshi hajimehoshi added this to the v2.9.0 milestone Nov 9, 2024
@hajimehoshi hajimehoshi reopened this Nov 9, 2024
@hajimehoshi
Copy link
Owner Author

This might affect performance as this resets a cache (subpaths). Let's investigate this.

@hajimehoshi
Copy link
Owner Author

Vectors in the examples are dynamically created every tick, so cache is not often used in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant