Hajime Hoshi
|
6ba14fdb00
|
vector: rename functions
Fill* was confusing especially when the color is a transparent color.
Closes #2403
|
2022-10-22 20:29:31 +09:00 |
|
Hajime Hoshi
|
c34c072efa
|
vector: change the specificatino of Path.ArcTo
Closes #2401
|
2022-10-22 02:03:27 +09:00 |
|
Hajime Hoshi
|
5e15bafde8
|
vector: add FillCircle and StrokeCircle
Updates #2387
|
2022-10-22 01:24:51 +09:00 |
|
Hajime Hoshi
|
fa942c824f
|
vector: avoid adding too close points
Rendering a very thick arc caused some glitches. This change should
mitigate this issue.
|
2022-10-22 01:16:47 +09:00 |
|
Hajime Hoshi
|
6f7b1a81d7
|
vector: add StrokeLine , FillRect , and StrokeRect
Updates #2387
|
2022-10-21 22:35:01 +09:00 |
|
Hajime Hoshi
|
dbfacb243a
|
vector: bug fix: Arc added unexpected lines from (0, 0)
This change removes Path.cur.
|
2022-10-21 22:12:48 +09:00 |
|
Hajime Hoshi
|
436bfdb06b
|
vector: update comments
|
2022-10-21 20:42:13 +09:00 |
|
Hajime Hoshi
|
9e6a1d7ad1
|
vector: update comments
|
2022-10-21 20:38:41 +09:00 |
|
Hajime Hoshi
|
6113afae46
|
vector: bug fix: LineTo should consider the current cursor
|
2022-10-21 19:25:20 +09:00 |
|
Hajime Hoshi
|
a75472b524
|
vector: add (*Path).Close
Updates #2387
|
2022-10-21 18:16:48 +09:00 |
|
Hajime Hoshi
|
9a82e5cf86
|
vector: add a comment about blend
Updates #2396
|
2022-10-18 23:50:56 +09:00 |
|
Hajime Hoshi
|
d2f6d8593b
|
vector: add LineCap
Closes #1843
|
2022-10-15 00:40:28 +09:00 |
|
Hajime Hoshi
|
225bf1bbb4
|
vector: add StrokeOptions.MiterLimit
|
2022-10-14 23:25:59 +09:00 |
|
Hajime Hoshi
|
04680ff761
|
vector: refactoring
|
2022-10-14 22:56:15 +09:00 |
|
Hajime Hoshi
|
a1a598471b
|
vector: add LineJoin
Updates #1843
|
2022-10-14 22:11:00 +09:00 |
|
Hajime Hoshi
|
f5ae18d6f6
|
vector: add comments
|
2022-10-14 19:06:33 +09:00 |
|
Hajime Hoshi
|
1ff55bc745
|
vector: remove redundant MoveTo
|
2022-10-11 01:18:18 +09:00 |
|
Hajime Hoshi
|
84452b0bf8
|
vector: remove redundant LineTo calls before Arc
|
2022-10-11 01:17:13 +09:00 |
|
Hajime Hoshi
|
2322acbd9c
|
Revert "vector: improve quality of lines by removing holes"
This reverts commit ccfedeea1d .
Reason: This affects the result of the line ends
|
2022-10-11 00:28:24 +09:00 |
|
Hajime Hoshi
|
ccfedeea1d
|
vector: improve quality of lines by removing holes
|
2022-10-11 00:12:35 +09:00 |
|
Hajime Hoshi
|
69c8fd745b
|
vector: add AppendVerticesAndIndicesForStroke
Updates #1843
|
2022-10-10 23:19:29 +09:00 |
|
Hajime Hoshi
|
a57042ebef
|
vector: bug fix: wrong base index
Closes #2379
|
2022-10-10 18:07:13 +09:00 |
|
Vivek Murali
|
084ba6bbd1
|
vector: fix spelling error in vector/path.go (#2078)
|
2022-04-24 12:14:18 +09:00 |
|
Hajime Hoshi
|
b2e38894e0
|
vector: Fix comments
|
2021-09-26 01:13:00 +09:00 |
|
Hajime Hoshi
|
a9241a45c6
|
vector: Add Dir
Updates #844
|
2021-07-17 16:42:14 +09:00 |
|
Hajime Hoshi
|
70ef5e7d5b
|
vector: Add Arc
Updates #844
|
2021-07-17 01:34:06 +09:00 |
|
Hajime Hoshi
|
873bb35587
|
vector: Add ArcTo
Updates #844
|
2021-07-16 22:52:32 +09:00 |
|
Hajime Hoshi
|
cea0aa72cb
|
vector: Rename AppendVerticesAndIndices to AppendVerticesAndIndicesForFilling
Updates #844
|
2021-07-16 17:20:09 +09:00 |
|
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 |
|