Commit graph

15 commits

Author SHA1 Message Date
Drahoslav
6f03f106f6 Minor changes 2017-12-27 12:32:23 +01:00
Drahoslav
3af25f5588 Use font-size in texts of svg context 2017-12-26 19:52:06 +01:00
Drahoslav
90f962641f Implement basic text drawing in svg context
fonts, bounds and string paths not yet implemented
2017-12-26 19:38:19 +01:00
Drahoslav
215a761ccb Use transformations in svg context
also few minor changes in to svg transformation functions
2017-12-26 14:25:28 +01:00
Drahoslav
6d31bfac59 Use fill-rule attribute in svg context 2017-12-24 16:05:15 +01:00
Drahoslav
d297a025cd Do minor refactoring of svg context 2017-12-24 15:31:41 +01:00
Drahoslav
484fe1caef Use dasharray and dashoffset attributes in svg context 2017-12-24 14:46:58 +01:00
Drahoslav
0b3b26d85f Gofmt 2017-12-24 13:45:56 +01:00
Drahoslav
41d8a21ba2 Improve toSvgPathDesc
some toArcs paths still does not work correctly
2017-12-24 13:27:44 +01:00
Drahoslav
6c0a15c624 Use line-{width,cap,join} attributes in svg context 2017-12-24 12:34:36 +01:00
Drahoslav
ca83e24222 Basic path implementation 2017-12-22 22:40:56 +01:00
Drahoslav
bd7567e331 Add samples test - no outputs yet 2017-12-22 09:59:31 +01:00
Drahoslav
cdf301b7be Use encoding/xml to encode svg 2017-12-21 18:18:29 +01:00
Drahoslav
295a8365b3 Remove svgo dependency 2017-12-21 15:52:26 +01:00
Drahoslav
96883adea4 Initial commit for svg context
Satisfy draw2dc.GrapghicContext using empty methods
2017-12-16 19:26:34 +01:00