Thomas Friedel
|
63b71e5e52
|
fixed image drawing transformation
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
97dff96ca2
|
removed unused shader variables
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
f962da34c4
|
removed openglinterface
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
8dc91b34f5
|
moved offscreen canvas to backend
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
a0dfb6f530
|
shadows.go wasn't used
|
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
|
e17505b056
|
removed gl code that is no longer needed in frontend
|
2019-02-22 16:39:30 +01:00 |
|
Thomas Friedel
|
fc4d3dbd9e
|
moved image data code into backend
|
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
|
43f040f777
|
moved text display 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
|
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
|
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
|
65ebe6af69
|
arc transformation fix
|
2019-02-21 11:03:38 +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
|
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
|
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
|
f62e309d77
|
updated readme
|
2019-01-11 11:03:53 +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
|
908e88d374
|
added textBaseline
|
2019-01-11 10:40:41 +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
|
54bd27e67a
|
added go module files
|
2018-11-13 12:20:43 +01:00 |
|
Thomas Friedel
|
a99a4fddf4
|
rect function bugfix
|
2018-11-13 12:20:02 +01:00 |
|
Thomas Friedel
|
afbdfdec44
|
added a Size function to get the window size
|
2018-11-13 12:19:05 +01:00 |
|
Thomas Friedel
|
4327bd938a
|
added offscreen rendering to test cases
|
2018-11-01 17:32:02 +01:00 |
|
Thomas Friedel
|
7297427a70
|
fixed a bug with offscreen rendering
|
2018-11-01 17:31:36 +01:00 |
|
Thomas Friedel
|
4debf145d2
|
added an example for a gomobile (gomobile build) implementation
|
2018-10-31 12:43:15 +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 |
|
Thomas Friedel
|
d7513ddf4d
|
added window resize and close handling to glfwcanvas package
|
2018-10-31 11:58:09 +01:00 |
|
Thomas Friedel
|
be6d1db04f
|
fixed that restoring after calling clip didn't always restore properly
|
2018-10-27 15:02:17 +02:00 |
|