Commit graph

23 commits

Author SHA1 Message Date
219501b99b
Change import paths 2018-11-16 12:21:14 +01:00
Piotr Kowalczuk
bdf3a69827 single GetFontName implementation that serialize font size properly 2018-08-20 12:17:57 +02:00
Drahoslav
0b72959009 Implement PathFontMode and make it default 2018-01-10 23:00:49 +01:00
Drahoslav
7419075cb6 Implement ClearRect in svg context 2018-01-10 22:13:38 +01:00
Drahoslav
1588b49f0d Optimize svg output sligtly 2018-01-10 20:21:07 +01:00
Drahoslav
99cc16d0ac Implement DrawImage in svg context 2018-01-08 00:25:25 +01:00
Drahoslav
1b49270d08 Experimental embed svg font functionality 2018-01-07 23:05:53 +01:00
Drahoslav
c1e5edea41 Implement CreateStringPath and GetStringBounds in svg context 2018-01-07 17:47:54 +01:00
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