Commit Graph

77 Commits

Author SHA1 Message Date
Hajime Hoshi
1fdab58ff5 vector: Add FillOptions 2020-03-16 23:49:55 +09:00
Hajime Hoshi
e725c7ee78 vector: Rename functions
Updates #844
2019-12-30 16:14:49 +09:00
Hajime Hoshi
c116481d33 vector/internal/triangulate: Add a benchmark 2019-12-29 23:56:55 +09:00
Hajime Hoshi
8c403d81fe vector: Rename math -> triangulate 2019-12-29 23:45:14 +09:00
Hajime Hoshi
faf8f6c58d vector: Reduce segments 2019-12-29 23:35:12 +09:00
Hajime Hoshi
6d51ff4a12 vector/internal/math: Optimization 2019-12-29 23:29:48 +09:00
Hajime Hoshi
17dc972b7a vector/internal/math: Remove Vector 2019-12-29 23:04:32 +09:00
Hajime Hoshi
8a42e8d808 vector/internal/math: Reduce calls of adjacentIndices 2019-12-29 23:00:53 +09:00
Hajime Hoshi
7860df37e1 vector/internal/math: Optimization: Make InTriangle faster 2019-12-29 02:40:13 +09:00
Hajime Hoshi
08be478dfc vector: Reduce necessary vertices 2019-12-29 02:40:10 +09:00
Hajime Hoshi
cee11bd822 vector: Add BezierCurveTo
Updates #844
2019-12-29 00:06:55 +09:00
Hajime Hoshi
bb39e94e8c vector: Bug fix: Wrong rendering when there are some same points
Updates #845
2019-12-29 00:06:38 +09:00
Hajime Hoshi
6edb586f52 example/vector: Add the logo
There is a known issue in the logo rendering.
2019-12-28 18:12:27 +09:00
Hajime Hoshi
d39dbc6a88 vector: Add QuadraticCurve
Updates #741
2019-12-28 14:58:29 +09:00
Hajime Hoshi
cb1dcc37a0 vector/internal/math: Add tests 2019-12-28 03:17:37 +09:00
Hajime Hoshi
18b267fd4f vector: Add Fill by triangulation
Updates #845
2019-12-28 02:51:09 +09:00
Hajime Hoshi
90fa30378c vector: Fix comments 2019-12-26 16:35:07 +09:00
Hajime Hoshi
215e9e5c66 graphics: Fix wrong comments 2019-07-31 01:58:54 +09:00
Hajime Hoshi
fc42af208d graphics: Use 1x1 image for empty images
This change leaves some empty images for DrawTriangles.
2019-07-30 23:11:06 +09:00
Hajime Hoshi
4a9a7f936d Make go vet a little happier on macOS
Updates #889
2019-07-22 20:16:22 +09:00
Hajime Hoshi
020cba22c5 vector: Implement miter limit
Fixes #843
2019-04-20 23:08:20 +09:00
Hajime Hoshi
5525e8c7c1 vector: Reduce vertices and remove gaps
Fixes #842
2019-04-14 22:45:16 +09:00
Hajime Hoshi
c44b03cfdd Bug fix: Add vector/internal/math 2019-04-14 16:49:01 +09:00
Hajime Hoshi
edbb5b4e0d vector: Better line joints
Bug: #842
2019-04-14 15:48:20 +09:00
Hajime Hoshi
66cfe104ab tmp 2019-04-14 02:34:42 +09:00
Hajime Hoshi
6bd9ef6abd vector: Bug fix: wrong color value 2019-04-14 02:11:25 +09:00
Hajime Hoshi
d7bd89d32b Add vector package (Work in progress) 2019-04-14 00:37:38 +09:00