Commit Graph

136 Commits

Author SHA1 Message Date
Tim Schaub
ca366ba15b Start copying at bounds min instead of zero point 2018-03-15 21:28:47 -06:00
Michael Fogleman
c97f757e6f better DrawEllipticalArc behavior when dc.hasCurrent is true 2018-03-08 13:42:55 -05:00
Michael Fogleman
da3d0863b9 add crisp lines example 2018-02-23 09:52:38 -05:00
Michael Fogleman
363d282ef3
Merge pull request #28 from derekschaab/issue-25
Return alpha-premultiplied color in gradient interpolation
2018-02-12 10:03:43 -05:00
Michael Fogleman
1b3894b028 Add SetMask and AsMask and an example using them 2018-02-11 23:15:32 -05:00
Michael Fogleman
c828b09e4a
Merge pull request #31 from magneticcoffee/get-dc-fontheight
Add a context fontHeight getter
2018-02-08 12:06:39 -05:00
Alexander Kahl
00ed7b79c0 Add a context fontHeight getter 2017-10-31 16:09:26 +01:00
Derek Schaab
ffbeb6b231 Return alpha-premultiplied color in gradient interpolation
Fixes #25.
2017-09-30 21:34:46 -05:00
Michael Fogleman
e611489b86 concat example 2017-07-28 18:55:21 -04:00
Michael Fogleman
ee8994ff90 Update README.md 2017-05-03 21:14:43 -04:00
Michael Fogleman
30f3b1d4ae Update README.md 2017-05-03 21:09:02 -04:00
Michael Fogleman
7fb6ce3c57 Merge pull request #16 from wsw0108/rotated-image-text
Draw image/text with current transformation appied
2017-05-03 21:06:54 -04:00
Michael Fogleman
0a834b0873 unicode table 2017-04-29 14:19:37 -04:00
Michael Fogleman
5e707d618f Update README.md 2017-04-14 13:57:42 -04:00
wsw
2c35caba58 apply current matrix when draw text 2017-01-08 16:23:33 +08:00
wsw
5e5aa69079 update example 'rotated-image' 2017-01-08 16:18:14 +08:00
Michael Fogleman
6166aa3c1a set fontHeight in SetFontFace 2016-12-20 19:30:13 -05:00
Michael Fogleman
bc0c0e9e67 greatly improve clipping performance 2016-12-14 17:06:16 -05:00
Michael Fogleman
62c697d628 update readme 2016-12-14 14:51:04 -05:00
Michael Fogleman
65947eb047 add SetPixel and DrawPoint 2016-12-14 14:43:30 -05:00
Michael Fogleman
5917fd97e8 fix #8 by exporting utility function LoadFontFace 2016-12-14 14:26:04 -05:00
wsw
b13517ff6f Merge branch 'master' into draw-image-rotated 2016-12-09 15:52:52 +08:00
Michael Fogleman
19103e0c61 Merge pull request #14 from wsw0108/default-fill-stroke-style
default fill/stroke (black on white)
2016-12-08 10:19:18 -05:00
wsw
3be68eb22e Merge branch 'master' into draw-image-rotated 2016-12-08 13:24:25 +08:00
wsw
f685e7c163 default fill/stoke (black on white) 2016-12-08 13:11:16 +08:00
wsw
f06d3564a1 apply current matrix when draw image 2016-12-08 11:16:19 +08:00
Michael Fogleman
bb1054e936 Merge pull request #12 from wsw0108/pattern-gradient
Implement pattern and gradient
2016-12-06 19:30:53 -05:00
wsw
d60a19b37a int/float64 things 2016-11-22 12:56:58 +08:00
wsw
214e3152fb radial gradient from package 'pixman' 2016-11-21 21:13:54 +08:00
wsw
8da875f641 cleanup again 2016-11-21 14:57:15 +08:00
wsw
298fbeaa77 cleanup, add commets 2016-11-21 14:51:07 +08:00
wsw
1aa57065bb linear gradient 2016-11-21 11:01:12 +08:00
wsw
db5b86472e Pattern, solid(color) and surface(image) 2016-11-20 20:31:05 +08:00
Michael Fogleman
b28a9453d4 add mask example 2016-09-28 10:25:10 -04:00
Michael Fogleman
ae49c2a7ae bug fixes 2016-09-20 22:21:59 -04:00
Michael Fogleman
e8e616055c update 2016-04-22 16:59:50 -04:00
Michael Fogleman
15eec45bd9 new example 2016-04-22 16:59:50 -04:00
Michael Fogleman
4d5a250fb8 DrawString bug fix 2016-04-22 16:59:50 -04:00
Michael Fogleman
928b874494 Merge pull request #6 from flopp/LoadFontFace+error
LoadFontFace returns an error
2016-03-05 16:13:15 -05:00
flopp
646568c788 LoadFontface returns an error 2016-03-05 20:46:55 +01:00
Michael Fogleman
021242611d clipping simplification 2016-02-26 08:39:32 -05:00
Michael Fogleman
9d56681560 LoadImage 2016-02-25 15:06:04 -05:00
Michael Fogleman
64d88fe46a implement clipping 2016-02-25 14:16:48 -05:00
Michael Fogleman
cc92081ed6 update readme 2016-02-25 12:47:20 -05:00
Michael Fogleman
15bab65913 DrawRegularPolygon 2016-02-25 12:46:59 -05:00
Michael Fogleman
8b73be9973 Update README.md 2016-02-24 21:55:37 -05:00
Michael Fogleman
60b91a20e1 workaround freetype/raster issues 2016-02-24 21:45:09 -05:00
Michael Fogleman
187c2bb9a5 Update README.md 2016-02-24 21:36:44 -05:00
Michael Fogleman
6e542bac45 update readme 2016-02-24 21:30:09 -05:00
Michael Fogleman
feba086eb0 revert changes to lorem example 2016-02-24 21:28:04 -05:00