Commit graph

474 commits

Author SHA1 Message Date
9dbc14edd6
Better approximation of emoji's bounds 2018-11-16 17:00:00 +01:00
9941d77460
Add emojis to bound calculation 2018-11-16 15:19:48 +01:00
e3566f7fc4
Add emoji support 2018-11-16 12:21:26 +01:00
219501b99b
Change import paths 2018-11-16 12:21:14 +01:00
llgcode
f52c8a71af
Merge pull request #146 from piotrkowalczuk/get-font-name-proper-font-size-serialization
GetFontName serialize font size properly
thanks @piotrkowalczuk
2018-08-25 15:34:48 +02:00
Piotr Kowalczuk
bdf3a69827 single GetFontName implementation that serialize font size properly 2018-08-20 12:17:57 +02:00
llgcode
587a55234c
Merge pull request #144 from sbinet/go-module-support
Go module support
2018-08-17 15:29:18 +02:00
Sebastien Binet
94de6e33b6 draw2d: add support for Go modules 2018-07-24 12:59:37 +02:00
Sebastien Binet
cd0433711b draw2d: add Sebastien Binet to AUTHORS 2018-07-24 12:59:37 +02:00
llgcode
274031cf2a
Merge pull request #140 from Drahoslav7/patch-1
Update AUTHORS, Thanks @Drahoslav7
2018-01-24 14:33:39 +01:00
llgcode
bc151d5e2c
Merge pull request #137 from Drahoslav7/feature/svg-context
Feature/svg context
2018-01-24 14:27:22 +01:00
Drahoslav Bednář
72e6a3c750
Update AUTHORS 2018-01-22 16:10:39 +01: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
llgcode
50aafedab4
Good Practice: always use BeginPath 2018-01-08 17:55:31 +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
llgcode
c41aa97d30 fix #136 2017-12-11 17:32:57 +01:00
llgcode
647da9ceaa fix draw2dgl compil' error 2017-12-11 11:02:06 +01:00
llgcode
f3e35015aa synchronize global font cache fixes #131 2017-12-04 18:06:33 +01:00
llgcode
b81f74eb39 Refactor Api using an interface 2017-12-04 16:49:08 +01:00
llgcode
a5f7ac8ebe fix #131 2017-12-04 16:29:40 +01:00
llgcode
8167230c09 go fmt 2017-12-04 09:46:40 +01:00
llgcode
3e4c36c4c9
Merge pull request #126 from gerald1248/sync
test for concurrent text drawing
2017-12-04 09:43:19 +01:00
llgcode
4cdcb11e52 run all tests 2017-11-28 11:12:29 +01:00
llgcode
e4816c5375 fix issue 135
SubdivideQuad and TraceQuad index out of range errors
2017-11-28 10:52:49 +01:00
llgcode
dd69e0c822 Test curve range 2017-10-11 10:25:10 +02:00
llgcode
dcbfbe505d Merge pull request #134 from AndreKR/convert-lineto-to-moveto
Convert LineTo to MoveTo for the first point of a path
2017-05-13 11:26:31 +02:00
André Hänsel
1f71aa3f15 Convert LineTo to MoveTo for the first point of a path
Same for QuadCurveTo and CubicCurveTo.

Closes #133
2017-04-25 07:59:14 +02:00
gerald1248
0cf6b8d61f fixed typo 2017-01-06 22:24:37 +01:00
gerald1248
7c57ea38bb removed all trickery, left only plain draw2d calls 2017-01-06 22:22:34 +01:00
gerald1248
eca7b76ebc fmt 2016-12-13 22:23:50 +01:00
gerald1248
dfbef878aa added test for concurrent text drawing 2016-12-13 22:22:19 +01:00