Commit Graph

89 Commits

Author SHA1 Message Date
Hajime Hoshi
e24eecd4a6 vector: Improve the quality of QuadTo and CubicTo
Updates #844
2021-07-16 17:11:38 +09:00
Hajime Hoshi
9e024dc337 vector: Rename arguments 2021-07-14 23:25:59 +09:00
Hajime Hoshi
315f87896b vector: Better interpolation of Bézier curves
Updates #844
2021-07-06 03:30:33 +09:00
Hajime Hoshi
035759703b Revert "vector: Improve the number of segments for a Bézier curve"
This reverts commit ad2999fa04.

Reason: Added *2 as a mistake. And without this multiplying, the quarity was not good.
2021-07-06 01:17:06 +09:00
Hajime Hoshi
ad2999fa04 vector: Improve the number of segments for a Bézier curve
Updates #844
2021-07-06 01:12:55 +09:00
Hajime Hoshi
b466a0cbd7 ebiten: Add EvenOdd to DrawTrianglesOptions and DrawShaderTrianglesOptions
Updates #844
Closes #1684
2021-07-05 03:35:55 +09:00
Hajime Hoshi
569964d7e4 Cache SubImage for the empty images 2021-01-25 01:31:18 +09:00
Hajime Hoshi
fa53160e18 mipmap: Stop using negative mipmaps
Negative mipmaps tend to allocate extremely big images.

Instead, encourage to use images with explicit padding when enlarging
the image.

Fixes #1400
2020-10-31 02:52:40 +09:00
Hajime Hoshi
c6053bcf14 ebiten: Remove the error returning value from NewImage
Updates #1380
2020-10-06 00:48:56 +09:00
Hajime Hoshi
fe97e7b0a5 ebiten: Remove the filter argument from NewImage and NewImageFromImage
Updates #503
2020-10-05 01:40:44 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
d256eaa846 vector: Add comments 2020-03-17 00:17:25 +09:00
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