Commit Graph

478 Commits

Author SHA1 Message Date
Stani 67213e40fc improve documentation for godoc 2015-07-08 00:01:01 +02:00
Stani 8c807d1289 make sample interface private 2015-07-07 23:35:03 +02:00
Stani cf81b0b120 add documentation fix 2015-07-07 23:32:27 +02:00
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 b14683a552 Start working on text 2015-04-30 18:06:25 +02:00
Laurent Le Goff f6e1ada0f2 Fix bug 2015-04-30 16:30:50 +02:00
Laurent Le Goff f2563306e4 Start implementing drawer 2015-04-30 16:27:23 +02:00
Laurent Le Goff 72643a28b2 Rename MatrixTransform to Matrix 2015-04-30 14:11:23 +02:00
Laurent Le Goff 383fef0d7d clean Api 2015-04-30 12:20:22 +02:00