Commit graph

240 commits

Author SHA1 Message Date
Stani
e94fab8197 rename draw2dpdf graphiccontext.go to gc.go as in draw2d 2015-07-07 21:48:16 +02:00
Laurent Le Goff
7a817d6c88 Merge pull request #48 from stanim/pdf
Pdf support
2015-07-07 09:24:13 +02:00
Stani
dbdf3e22bc rename pdf2d to draw2dpdf 2015-07-07 00:25:56 +02:00
Stani
dbd88a6569 rename pdf2d to draw2dpdf 2015-07-07 00:25:24 +02:00
Stani
96e73eab52 updated repository names 2015-07-07 00:07:44 +02:00
Stani
8ca9a0bbe3 fix comment 2015-07-01 20:27:41 +02:00
Stani
1841a3e90f golint fix 2015-07-01 17:13:33 +02:00
Stani
4262ff5718 update gitignore 2015-07-01 15:38:14 +02:00
Stani
99dce02263 remove path_logger 2015-07-01 15:37:27 +02:00
Stani
a861276f40 add postscript sample test 2015-07-01 15:15:37 +02:00
Stani
8e69b2d8d6 add linecapsjoin sample test 2015-07-01 14:44:51 +02:00
Stani
19b20e1fba skip overwriting pdfs during tests 2015-07-01 14:44:01 +02:00
Stani
f6e57f4712 let fill color define text color for pdf and implement SetLineJoin 2015-07-01 14:13:54 +02:00
Stani
71c1aba4fe separate out test function and refactor line sample 2015-07-01 10:34:23 +02:00
Stani
0144ae516b added docstring to package draw2d_test 2015-07-01 01:39:01 +02:00
Stani
225f790d40 replace gc.scale with gc.Current.Scale 2015-07-01 01:37:19 +02:00
Stani
0acdcf4fff fix recalc 2015-07-01 01:36:27 +02:00
Stani
39bb5b6cf6 removed samples folder 2015-07-01 01:28:00 +02:00
Stani
5e8829cc26 refactor pdf2d.GraphicContext samples, so they can be used for test coverage 2015-07-01 01:11:20 +02:00
Stani
a3866cec52 refactor ImgGraphicContext samples, so they can be used for test coverage 2015-07-01 01:10:32 +02:00
Stani
2f2bd1937a - fix font size
- make ContextStack Font and Scale public
- make ContextStack.Scale float64, so it can also be used for pdf
2015-07-01 01:06:53 +02:00
Stani
6608ccca67 update gitignore 2015-07-01 00:44:33 +02:00
Stani
b3bea4f206 use pdf native transforms 2015-06-29 01:29:04 +02:00
Stani
458c46b28c add file for pdf2d package documentation 2015-06-28 01:41:06 +02:00
Stani
4d393c1035 add transformation to text and images 2015-06-27 20:06:06 +02:00
Stani
244893c6ab added helloworld sample 2015-06-27 19:42:59 +02:00
Stani
be91a632c9 fixed the SetFontData method 2015-06-27 19:41:34 +02:00
Stani
13f1147b90 set default fill color to white for NewPdf 2015-06-27 18:33:15 +02:00
Stani
2905171a22 added a NewPdf constructor for convenience 2015-06-27 18:24:16 +02:00
Stani
01150ac981 add gopher sample 2015-06-27 17:55:34 +02:00
Stani
eee9c42bb9 moved line in frame-image 2015-06-27 17:55:01 +02:00
Stani
5a3d7085a2 added working frame-image sample 2015-06-27 17:47:29 +02:00
Stani
7ffd99f6bd fix GraphicContext.DrawImage and use PNG as default format 2015-06-27 17:46:03 +02:00
Stani
66b0d91546 move android in its own folder 2015-06-27 17:19:08 +02:00
Stani
464bc2488b improved comment 2015-06-27 17:18:36 +02:00
Stani
d140c26465 disable PathLogger 2015-06-27 16:51:37 +02:00
Stani
5d1b0f3315 added an example as documentation and test 2015-06-27 16:47:27 +02:00
Stani
0d629a4957 fix typo 2015-06-27 16:34:30 +02:00
Stani
74e84c4493 implemented more methods for pdf graphic context, fixed the code for 100% golint and go vet 2015-06-27 16:21:13 +02:00
Stani
bbcbc3df5e fix c255 for rgb conversion 2015-06-27 13:50:43 +02:00
Stani
a422b2462d partial implementation of gofpdf backend 2015-06-27 01:13:20 +02:00
Stani
d47e08f7c9 Preparing for pdf backend
- make PathStorage Commands and Vertices public, so they can be accessed by the pdf backend
- start every path with MoveTo (also before ArcTo)
2015-06-27 01:03:41 +02:00
Laurent Le Goff
f8fb5a2052 Update doc 2015-04-22 16:22:24 +02:00
Laurent Le Goff
f43b901cb4 Update README.md 2015-04-22 16:05:00 +02:00
Laurent Le Goff
d41211e1f1 Update README.md 2015-04-22 16:03:13 +02:00
Laurent Le Goff
cfe27c6c0a Change Readme 2015-04-22 15:59:42 +02:00
Laurent Le Goff
26fd99f263 remove deprecated files 2015-04-22 15:59:32 +02:00
Laurent Le Goff
146e6d6c8e Add Save and Load util function 2015-04-22 15:59:01 +02:00
Laurent Le Goff
93abbc2231 move to draw2d.samples 2015-04-22 15:58:36 +02:00
Laurent Le Goff
78e0449cca Move samples to draw2d.samples 2015-04-22 15:58:13 +02:00