|
fb1b1c09ec
|
Fix module naming
|
2025-04-10 14:12:26 +02:00 |
|
Thomas Friedel
|
c4d3130770
|
converted earcut.hpp library to Go and used it to triangulate fonts
|
2020-03-28 16:08:58 +01:00 |
|
Thomas Friedel
|
1711693a57
|
fixed text stroke scaling
|
2020-03-27 21:39:19 +01:00 |
|
Thomas Friedel
|
30531aaab7
|
new way to fill text (work in progress)
|
2020-03-23 12:42:04 +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
|
7faf3cdcc6
|
improved caching and added font context cache
|
2020-03-21 12:50:44 +01:00 |
|
Thomas Friedel
|
9d1e5b306a
|
improved cache code
|
2020-03-21 11:36:27 +01:00 |
|
Thomas Friedel
|
a0ba7b2ad3
|
removed some unused variables
|
2020-03-17 12:54:33 +01:00 |
|
Thomas Friedel
|
84d2b4f3cb
|
code cleanup
|
2020-03-16 18:28:37 +01:00 |
|
Thomas Friedel
|
82290ace4a
|
removed some dead code; small code improvements
|
2020-02-20 12:15:15 +01:00 |
|
Thomas Friedel
|
55572c59da
|
added performance setting for image cache size
|
2020-02-14 16:30:40 +01:00 |
|
Thomas Friedel
|
259bb9e598
|
fixed Arc and ArcTo scaling
|
2020-02-11 11:10:53 +01:00 |
|
Thomas Friedel
|
aa059cfcf3
|
more image pattern fixes
|
2019-05-02 12:42:23 +02:00 |
|
Thomas Friedel
|
f89b3eccdc
|
implemented imapge pattern repeat types
|
2019-04-25 17:58:21 +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
|
7c4521b227
|
added a function to check if a point is in a path
|
2019-04-10 11:59:26 +02:00 |
|
Thomas Friedel
|
b2502f5472
|
simplified matrix type
|
2019-03-30 11:08:49 +01:00 |
|
Thomas Friedel
|
0e16a8261b
|
added function to create an image pattern
|
2019-03-28 11:25:59 +01:00 |
|
Thomas Friedel
|
22c3c25d8e
|
removed opaque and deleted flags from backend, deleted state is now maintained in frontend
|
2019-02-27 16:06:41 +01:00 |
|
Thomas Friedel
|
9c3cccabdd
|
offscreen backend now has its own type, can be used as image when drawing images
|
2019-02-27 13:05:23 +01:00 |
|
Thomas Friedel
|
a36c635367
|
renamed the gradient creation methods; removed SetLineEnd function
|
2019-02-22 16:56:27 +01:00 |
|
Thomas Friedel
|
816582dbb3
|
removed FillMatrix and moved transformations to frontend
|
2019-02-22 16:53:53 +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
|
e17505b056
|
removed gl code that is no longer needed in frontend
|
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
|
ac9a395c05
|
removed some dead code
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
c5c13de2a4
|
moved gradients to backend
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
a354e192b6
|
image pattern support in backend
|
2019-02-22 16:39:18 +01:00 |
|
Thomas Friedel
|
476dbac6e2
|
moved image loading and drawing into backend
|
2019-02-22 16:39:18 +01:00 |
|
Thomas Friedel
|
7cef867541
|
moved backend interface to canvas.go
|
2019-02-22 16:38:27 +01:00 |
|
Thomas Friedel
|
c28c50a22e
|
added a blurred fill style in backend, used it for blurred shadow drawing
|
2019-02-22 16:38:27 +01:00 |
|
Thomas Friedel
|
c5c8ac500f
|
some shadow drawing now works using the 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
|
7dbcd9b420
|
made DrawStyle public for use by backends; changed color to be color.RGBA
|
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
|
6091afb755
|
added some tests; improved gradient and image pattern transformations
|
2019-02-22 16:37:48 +01:00 |
|
Thomas Friedel
|
57348acc02
|
added an optional alpha channel for offscreen canvas, and a DeleteOffscreen function
|
2019-02-18 11:29:12 +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
|
99b9763f00
|
added some nonstandard performance flags
|
2019-01-23 18:11:41 +01:00 |
|
Thomas Friedel
|
bb244c4868
|
separated out a Path2D type
|
2019-01-23 17:23:47 +01:00 |
|
Thomas Friedel
|
7565296c42
|
removed the SetSize method
|
2019-01-16 10:31:45 +01:00 |
|
Thomas Friedel
|
908e88d374
|
added textBaseline
|
2019-01-11 10:40:41 +01:00 |
|
Thomas Friedel
|
cb3e694671
|
changed path to a struct
|
2018-11-13 12:28:22 +01:00 |
|
Thomas Friedel
|
7297427a70
|
fixed a bug with offscreen rendering
|
2018-11-01 17:31:36 +01:00 |
|
Thomas Friedel
|
a01a6799f1
|
reduced the maximum shadow blur size to avoid running into some gpu limitations for now
|
2018-10-31 12:39:14 +01:00 |
|
Thomas Friedel
|
6f74599567
|
added an offscreen canvas
|
2018-10-31 12:30:39 +01:00 |
|