Commit graph

428 commits

Author SHA1 Message Date
Steven Edwards
1a2db78d7b Change .NewGraphicContext package.
NewGraphicContext is also now in draw2dimg.
2015-08-17 05:44:03 -04:00
Laurent Le Goff
755362132b Merge pull request #73 from stephenwithav/fiximageexample
Fix Getting Started example in README.md.
2015-08-17 11:41:23 +02:00
Steven Edwards
a238a47879 Fix Getting Started example in README.md.
SaveToPngFile is now in draw2dimg.
2015-08-17 05:36:40 -04:00
Laurent Le Goff
b07a8ba2e0 Remove Drawer interface and unecessary draw2dkit 2015-08-14 23:00:23 +02:00
Laurent Le Goff
93c5712ecc Merge pull request #72 from llgcode/Clean-Up
Clean Up
2015-08-14 22:48:08 +02:00
Laurent Le Goff
7e94968f5e Correct some golint 2015-08-14 22:38:18 +02:00
Laurent Le Goff
1e0467b8fc move freetype dependency to draw2dimg 2015-08-14 22:22:01 +02:00
Laurent Le Goff
3b19ab855e use key fields 2015-08-14 22:07:02 +02:00
Laurent Le Goff
9b55e34990 Change file permission 2015-08-14 22:00:33 +02:00
Laurent Le Goff
7ef94ce784 Merge branch 'master' into Clean-Up
Conflicts:
	arc.go
	curve/curve_test.go
	draw2dgl/gc.go
	draw2dimg/rgba_interpolation.go
	draw2dpdf/gc.go
	draw2dpdf/path_converter.go
	path_adder.go
	path_storage.go
	raster/raster_test.go
	vertex2d.go
2015-08-14 21:40:32 +02:00
Laurent Le Goff
ce9c7f76f7 Merge pull request #71 from stephenwithav/fontfilenamer
Font naming enhancement
2015-08-09 21:38:03 +02:00
Steven Edwards
a78b24d408 Modify font loading functions to use fontNamer. 2015-08-09 12:47:30 -04:00
Steven Edwards
be5a5617ef Add SetFontNamer func.
SetFontNamer changs draw2d's default font naming convention.  Accepts a
func of type FontFileNamer, which accepts a FontData and returns the
filename as a string.
2015-08-09 12:44:50 -04:00
Steven Edwards
d0cd538261 Add FontFileNamer type, set default fontNamer. 2015-08-09 12:43:37 -04:00
Stani
994e11cd6d Update draw2d.go 2015-07-14 13:53:27 +02:00
Stani
c9398530eb fix typo of draw2dgl in docstring of draw2d.go 2015-07-14 13:04:10 +02:00
Stani
27ca8d66a7 Merge pull request #69 from stanim/master
add transparency support to pdf backend
2015-07-14 12:57:39 +02:00
Stani
64dc974458 geometry: make line continuous in arcs and replace "coucou" with "HugHug" to test better ascent, descent and capheight of font 2015-07-13 00:37:15 +02:00
Stani
b1e17999b6 fix gopher drawing in gopher2 2015-07-13 00:33:03 +02:00
Stani
fcd849f2e4 support different transparencies for fillstroke 2015-07-13 00:31:57 +02:00
Stani
3450d01825 Merge pull request #68 from stanim/fixtext
fix horizontal alignment of text
2015-07-12 21:18:49 +02:00
Stani
6b72c6dec7 fix horizontal alignment of text 2015-07-12 21:17:39 +02:00
Stani
bc823442ba Merge pull request #67 from stanim/text
Fix text alignment
2015-07-12 20:50:14 +02:00
Stani
1f0b304e2e fix string alignment with new gofpdf api 2015-07-12 20:48:52 +02:00
Stani
bbb2a4b372 add extra lines to check baseline 2015-07-12 20:47:35 +02:00
Stani
88ee58870c Merge pull request #66 from stanim/filename
Use filenames in examples of README
2015-07-12 03:07:01 +02:00
Stani
9bd0ecf14e use filenames in examples README 2015-07-12 03:04:30 +02:00
Stani
316bf1b039 Add README to draw2dpdf 2015-07-12 03:03:27 +02:00
Stani
339f012445 Merge pull request #65 from stanim/master
Fixes for text in draw2dpdf
2015-07-12 02:43:32 +02:00
Stani
b4e9f9c266 fix SetFontData for pdf 2015-07-12 02:36:44 +02:00
Stani
da9799659c fix colors for stroke font in helloworld 2015-07-12 02:34:34 +02:00
Stani
5d7c08c52f Merge pull request #64 from stanim/pdf
update readme
2015-07-11 22:54:08 +02:00
Stani
6e58827921 update readme 2015-07-11 22:53:24 +02:00
Stani
ce7f6b422e Update README.md 2015-07-11 22:07:20 +02:00
Stani
8d08b5e816 Update README.md 2015-07-11 19:42:10 +02:00
Stani
a819f6b102 Merge pull request #63 from stanim/samples
Add extra samples, fix arc angle and implement SetLineDash for pdf
2015-07-11 19:36:09 +02:00
Stani
2099d15a26 add readme to output folder 2015-07-11 19:34:48 +02:00
Stani
790eaf6842 add image to README 2015-07-11 19:31:36 +02:00
Stani
d3a9977ae5 Added Stani to authors 2015-07-11 19:21:23 +02:00
Stani
a5918dc963 only regenerate pdf if it has been deleted 2015-07-11 19:19:03 +02:00
Stani
99aee45045 golint fixes 2015-07-11 19:17:24 +02:00
Stani
16a86e7588 remove resource/result 2015-07-11 19:06:10 +02:00
Stani
224b85d99a include geometry sample to show on the frontpage 2015-07-11 19:04:02 +02:00
Stani
99f1fece69 implement SetLineDash for draw2dpdf 2015-07-11 18:58:28 +02:00
Stani
a43544c31d add geometry and gopher2 samples 2015-07-11 18:44:36 +02:00
Stani
6e1b43c32f fix typo 2015-07-11 18:41:38 +02:00
Stani
743e113349 fix arc angle bug 2015-07-11 18:39:51 +02:00
Stani
6a06be3c7c Merge pull request #62 from stanim/fix
Fix pdf bugs and remove gc.Current.Path.Clear()
2015-07-11 01:25:04 +02:00
Stani
08a6c87a0b replace gc.Current.Path.Clear() with gc.Current.Path = draw2d.NewPathStorage(); fixes #61 2015-07-11 01:22:50 +02:00
Stani
781a0defe5 previous fix makes Save and Restore for line caps join unnecessary 2015-07-11 01:13:39 +02:00