|
fb1b1c09ec
|
Fix module naming
|
2025-04-10 14:12:26 +02:00 |
|
Thomas Friedel
|
1711693a57
|
fixed text stroke scaling
|
2020-03-27 21:39:19 +01:00 |
|
Thomas Friedel
|
34087abece
|
Path2D now caches the triangulation for filling
|
2020-03-22 11:52:35 +01:00 |
|
Thomas Friedel
|
804a9c2774
|
replaced [2]float64 with Vec type
|
2020-03-22 10:15:42 +01:00 |
|
Thomas Friedel
|
cc9247c627
|
moved math code to backendbase package so that backends can also use it
|
2020-03-22 10:07:18 +01:00 |
|
Thomas Friedel
|
3378745af4
|
fixed method order
|
2020-02-28 08:54:33 +01:00 |
|
Thomas Friedel
|
82290ace4a
|
removed some dead code; small code improvements
|
2020-02-20 12:15:15 +01:00 |
|
Thomas Friedel
|
259bb9e598
|
fixed Arc and ArcTo scaling
|
2020-02-11 11:10:53 +01:00 |
|
Thomas Friedel
|
50c77477c9
|
another triangulation bugfix, points should be considered inside the polygon if they are on a line, with a small amount of tolerance
|
2020-02-01 16:25:11 +01:00 |
|
Thomas Friedel
|
239ab21259
|
added ellipse function
|
2019-10-01 11:49:58 +02:00 |
|
Thomas Friedel
|
5ce888f8b9
|
small performance improvements
|
2019-05-23 16:32:03 +02:00 |
|
Thomas Friedel
|
a4826a3e12
|
fixed a problem with closed paths and self intersecting polygons
added the readme example as a test
|
2019-05-12 13:05:49 +02:00 |
|
Thomas Friedel
|
0476a8a85f
|
shadow global alpha fix
|
2019-04-24 12:34:36 +02:00 |
|
Thomas Friedel
|
287ff8905f
|
another transformation bugfix
|
2019-04-18 16:33:50 +02:00 |
|
Thomas Friedel
|
ff4c73b6b7
|
fixed a transformation issue
|
2019-04-17 16:11:25 +02:00 |
|
Thomas Friedel
|
857e6c4e47
|
IsPointInStroke implemented
|
2019-04-17 11:31:53 +02:00 |
|
Thomas Friedel
|
c9fcfbdd53
|
clipping bugfix
|
2019-04-16 16:15:59 +02:00 |
|
Thomas Friedel
|
70ece785e9
|
implemented self intersecting polygon support
|
2019-04-16 14:18:51 +02:00 |
|
Thomas Friedel
|
7c4521b227
|
added a function to check if a point is in a path
|
2019-04-10 11:59:26 +02:00 |
|
Thomas Friedel
|
b7397ee4dc
|
fixed stroke scaling
|
2019-03-30 11:35:32 +01:00 |
|
Thomas Friedel
|
8dc91b34f5
|
moved offscreen canvas to backend
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
fe9d6e60e4
|
moved clipping to backend
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
cf788d55f3
|
unified Clear and ClearRect
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
e7d0b1a7ee
|
text shadow rendering moved to backend
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
476dbac6e2
|
moved image loading and drawing into backend
|
2019-02-22 16:39:18 +01:00 |
|
Thomas Friedel
|
c5c8ac500f
|
some shadow drawing now works using the backend
|
2019-02-22 16:38:27 +01:00 |
|
Thomas Friedel
|
38eddd2837
|
moved a lot of fill code to the backend; also started moving shadow drawing code to backend
|
2019-02-22 16:38:27 +01:00 |
|
Thomas Friedel
|
359b52f473
|
more general backend fill function
|
2019-02-22 16:38:27 +01:00 |
|
Thomas Friedel
|
114b292be7
|
moved some more gl code into the backend
|
2019-02-22 16:38:27 +01:00 |
|
Thomas Friedel
|
1e5180dd65
|
started work on moving all the gl code into a backend package so that other backends can be created
|
2019-02-22 16:38:27 +01:00 |
|
Thomas Friedel
|
65ebe6af69
|
arc transformation fix
|
2019-02-21 11:03:38 +01:00 |
|
Thomas Friedel
|
7aeae444a9
|
fixed a rect clipping bug
|
2019-01-26 23:02:02 +01:00 |
|
Thomas Friedel
|
c1f855278d
|
undid some of the changes from the last update since it didn't work properly; added some tests
|
2019-01-25 13:16:48 +01:00 |
|
Thomas Friedel
|
c5d148331b
|
proper scaling of stroked paths
|
2019-01-24 16:14:05 +01:00 |
|
Thomas Friedel
|
f77841e973
|
added StrokePath and FillPath functions
|
2019-01-24 15:56:47 +01:00 |
|
Thomas Friedel
|
7ce0b7bf9d
|
line dash now gets properly scaled
|
2019-01-24 10:50:39 +01:00 |
|
Thomas Friedel
|
bb244c4868
|
separated out a Path2D type
|
2019-01-23 17:23:47 +01:00 |
|
Thomas Friedel
|
3800d8519c
|
fixed a bug with self intersecting polygons, added a test
|
2019-01-11 11:01:12 +01:00 |
|
Thomas Friedel
|
ef97c9be5c
|
fixed a bug with transformations applying to dashed lines
|
2018-11-26 10:25:42 +01:00 |
|
Thomas Friedel
|
deaa8f87b6
|
added flags to track if the path is convex
|
2018-11-13 13:08:41 +01:00 |
|
Thomas Friedel
|
cb3e694671
|
changed path to a struct
|
2018-11-13 12:28:22 +01:00 |
|
Thomas Friedel
|
a99a4fddf4
|
rect function bugfix
|
2018-11-13 12:20:02 +01:00 |
|
Thomas Friedel
|
caaba150e8
|
fixed a bug when lines in a polygon are parallel
|
2018-09-18 14:15:42 +02:00 |
|
Thomas Friedel
|
56995ff396
|
line dash is now only applied when calling stroke
|
2018-09-01 16:42:07 +02:00 |
|
Thomas Friedel
|
b6c22b9374
|
line dash bugfix, implemented getLineDash, added a test
|
2018-07-30 14:56:19 +02:00 |
|
Thomas Friedel
|
aabe03b003
|
added support for miter limit
|
2018-07-19 18:05:41 +02:00 |
|
Thomas Friedel
|
5da544d78b
|
performance optimization, avoid use of stencil buffer when drawing with opaque styles
|
2018-07-19 16:59:22 +02:00 |
|
Thomas Friedel
|
6b4af8f29f
|
added support for shadows (not yet blurred)
|
2018-06-14 15:03:25 +02:00 |
|
Thomas Friedel
|
964380f673
|
implemented clearRect
|
2018-05-23 12:33:18 +02:00 |
|
Thomas Friedel
|
0efc4c6d59
|
line widths now work more like the html5 canvas
|
2018-05-17 16:24:46 +02:00 |
|