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

Idea: HTML5 compliant API #35

Open
Danielku15 opened this issue Oct 15, 2023 · 0 comments
Open

Idea: HTML5 compliant API #35

Danielku15 opened this issue Oct 15, 2023 · 0 comments

Comments

@Danielku15
Copy link
Member

Having a full HTML5 canvas compatible API could be quite a big benefit for many others and alphaSkia has big potential for that.

  • API similar to OffscreenCanvas for image creation and drawing. (only 2D context, maybe some features not supported initially if they bloat the lib or are not built into Skia already)
  • FontFace for handling fonts.
  • Additional APIs:
    • like image saving (alternative to toDataURL)
    • Accept types like FontFace as setter for fonts (not only CSS string encoded font descriptions)
    • Unloading of fonts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant