This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
skia2
Watch
1
Star
0
Fork
0
You've already forked skia2
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
8918d532ab
skia2
/
modules
/
canvaskit
/
.gitignore
2 lines
29 B
Plaintext
Raw
Normal View
History
Unescape
Escape
[canvaskit] Expand canvas2d API Made addPath take one more arg to allow for append/expand (which makes emulating the HTML canvas easier). Add Gold test for various lineTo/pathTo, etc. Make CanvasKit.Color() choose a better value for alpha when omitted (was 0, should be 1). Add some parsing logic to deal with colors/font sizes. Fonts are going to be rather complex it seems. Moves some arc-related logic to the JS side, (although this should preserve the behavior of CanvasKit.arc() to behave like the Canvas implementation) Make Examples and tests to a side-by-side comparison to HTML canvas where applicable. Add a Changelog for PathKit. There was a bug (I thought), but turns out I was wrong. The Changelog will be for future bug fixes. Bug: skia: Change-Id: I1bd603fdb518232604b098e24543e3453015b504 Reviewed-on: https://skia-review.googlesource.com/c/170446 Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-11-20 17:51:16 +00:00
package-lock.json
[canvaskit] Allow users to load their own fonts Instead of using the test font(s), now ship with a small (100k) Monospace font. This can be disabled by: compile.sh no_font ... This saves about 350k (164k gzipped) in binary size. Bug: skia: Change-Id: I195e3b35bea86d0f096066c1c6a44a4b602571f3 Reviewed-on: https://skia-review.googlesource.com/c/176580 Reviewed-by: Ben Wagner <bungeman@google.com>
2018-12-12 15:35:13 +00:00
fonts/*.cpp
Reference in New Issue
Copy Permalink