Commit Graph

46 Commits

Author SHA1 Message Date
Michael Fogleman
64d88fe46a implement clipping 2016-02-25 14:16:48 -05:00
Michael Fogleman
15bab65913 DrawRegularPolygon 2016-02-25 12:46:59 -05:00
Michael Fogleman
60b91a20e1 workaround freetype/raster issues 2016-02-24 21:45:09 -05:00
Michael Fogleman
e48cc03e84 word wrap implemented 2016-02-24 21:26:51 -05:00
Michael Fogleman
315dff9066 word wrap in progress 2016-02-24 17:22:21 -05:00
Emmanuel Odeke
93f92929f2 encodePNG implemented
Fixes #2.

Allows passing in an io.Writer to save a PNG.
2016-02-24 13:08:20 -08:00
Michael Fogleman
25b475c827 Update context.go 2016-02-23 16:44:53 -05:00
Michael Fogleman
e5ff69e151 add doc comments to context functions 2016-02-23 16:30:53 -05:00
Michael Fogleman
2a0857f791 loadFontFace errors 2016-02-22 22:36:34 -05:00
Michael Fogleman
b224ca0761 fi -> fix, fp -> fixp 2016-02-22 22:33:22 -05:00
Michael Fogleman
5af67d1f6f Add support for dashed strokes 2016-02-22 21:00:39 -05:00
Michael Fogleman
a4bc9dc362 stack should not affect current, hasCurrent 2016-02-21 22:31:21 -05:00
Michael Fogleman
68ecba1329 NewSubPath 2016-02-21 22:22:17 -05:00
Michael Fogleman
a4e5cdbeb8 fix some curve issues 2016-02-21 16:34:28 -05:00
Michael Fogleman
104a343597 *About functions in Context only 2016-02-21 15:54:54 -05:00
Michael Fogleman
5cc58d1aa5 track current point; emulate cubic beziers 2016-02-20 23:11:34 -05:00
Michael Fogleman
a4a5e21ecd bug fix 2016-02-20 18:12:34 -05:00
Michael Fogleman
922e8e1f9e bug fix 2016-02-20 18:06:19 -05:00
Michael Fogleman
a46d144fed support alpha in SetHexColor 2016-02-20 15:43:08 -05:00
Michael Fogleman
806ad20891 bug fix 2016-02-20 15:27:48 -05:00
Michael Fogleman
e6644b7b24 remove unneeded code 2016-02-20 15:14:24 -05:00
Michael Fogleman
8014fc54f3 fix open fill paths 2016-02-20 15:10:16 -05:00
Michael Fogleman
b77c5f2881 ShearAbout 2016-02-20 14:53:33 -05:00
Michael Fogleman
e08199f06f ScaleAbout 2016-02-20 14:45:17 -05:00
Michael Fogleman
8ed9c9d862 anchored functions 2016-02-19 21:35:56 -05:00
Michael Fogleman
abe835c734 DrawRoundedRectangle 2016-02-19 21:15:22 -05:00
Michael Fogleman
43258d7dd7 InvertY 2016-02-19 21:00:56 -05:00
Michael Fogleman
4ce170694c refactor 2016-02-19 20:54:59 -05:00
Michael Fogleman
cf2e9fdfaf fix 2016-02-19 20:46:19 -05:00
Michael Fogleman
a2934a183c fix 2016-02-19 20:38:38 -05:00
Michael Fogleman
dbef31de34 Push/Pop doesn't affect Path 2016-02-19 19:45:49 -05:00
Michael Fogleman
5e6e015a82 Use draw.Over in DrawImage 2016-02-19 18:33:15 -05:00
Michael Fogleman
85b390fbce simplified Push/Pop 2016-02-19 14:10:39 -05:00
Michael Fogleman
0fd2b0f764 fontHeight 2016-02-19 14:03:52 -05:00
Michael Fogleman
6a8c25552f WritePNG -> SavePNG 2016-02-19 13:54:55 -05:00
Michael Fogleman
d1da415ba6 DrawImage, LoadPNG 2016-02-19 13:49:03 -05:00
Michael Fogleman
e554ef45e8 Push / Pop 2016-02-19 13:34:04 -05:00
Michael Fogleman
be8bb502f3 Matrix, WritePNG, Ellipse example 2016-02-19 13:16:40 -05:00
Michael Fogleman
cabeb41b27 functions for enums 2016-02-19 11:20:50 -05:00
Michael Fogleman
805bc68eed refactoring 2016-02-19 11:07:25 -05:00
Michael Fogleman
80f52004a0 package gg 2016-02-19 09:43:37 -05:00
Michael Fogleman
27f56accd8 fonts 2016-02-18 22:53:47 -05:00
Michael Fogleman
80ced376d0 Draw* helpers 2016-02-18 22:11:53 -05:00
Michael Fogleman
b9d05a4e40 fill rule 2016-02-18 21:30:17 -05:00
Michael Fogleman
d3e574108b bug fix; use NRGBA 2016-02-18 21:07:44 -05:00
Michael Fogleman
5af2d1264c initial commit 2016-02-18 16:02:57 -05:00