Commit graph

402 commits

Author SHA1 Message Date
Zdenek Styblik
4ac4348abb Fix typos and add more comments/documentation
Commit fixes couple typos and adds more documentation to
GraphicContext interface in `gc.go`.

Fixes #101
2016-04-26 14:35:24 +02:00
llgcode
0545b30698 Fix #98: Alpha spec has changed
need to update package
2016-02-19 11:05:01 +01:00
Laurent Le Goff
f444aacdd7 Merge pull request #96 from iopred/scale
Replace DrawImage implementation for draw.Transformer. thx @iopred
2016-01-03 01:21:57 +01:00
Chris Rhodes
11b6fa221b Use transformer.Transform. 2016-01-02 11:05:47 -08:00
Chris Rhodes
001a24bc17 Replace DrawImage implementation for draw.Scaler.
This change has no API modifications.
2016-01-01 23:57:04 -08:00
Laurent Le Goff
9ffe0e7eb5 comment FontStyle enum type 2015-11-05 14:43:36 +01:00
llgcode
56180d8101 Change getting started in Readme and godoc 2015-10-08 15:58:39 +02:00
Laurent Le Goff
d6d74f19f9 Merge pull request #89 from bramp/patch-1
Updated README to include github.com/google/hilbert as a user of draw2d
2015-09-13 18:09:24 +02:00
Andrew Brampton
7b20985151 Updated README to include github.com/google/hilbert as a user of draw2d 2015-09-12 15:54:21 -07:00
Laurent Le Goff
835d17ca7c Create README.md 2015-09-11 10:15:00 +02:00
Laurent Le Goff
caad194462 Create README.md 2015-09-11 10:11:40 +02:00
Laurent Le Goff
96d42f14c0 Add README.md with badges 2015-09-11 10:08:31 +02:00
Laurent Le Goff
35dcbff3f7 Add badge 2015-09-11 10:04:26 +02:00
Laurent Le Goff
37f345f4d3 Merge pull request #87 from bramp/issue-86
Update code.google.com/p/freetype-go to github.com/golang/freetype.
2015-09-08 09:39:53 +02:00
Andrew Brampton
c378327bfa Update code.google.com/p/freetype-go to github.com/golang/freetype. Fixes #86.
Updates the dependency, as well as other changes needed to support the newer version of freetype.
2015-09-06 18:08:19 -07:00
Laurent Le Goff
7510d72d52 fix import in test 2015-08-27 15:50:55 +02:00
Laurent Le Goff
48a313740b Merge pull request #83 from llgcode/remove-raster-experiment
Remove raster experiment
2015-08-27 14:29:22 +02:00
Laurent Le Goff
82a7e1e58e Remove raster experiment 2015-08-27 14:12:22 +02:00
Laurent Le Goff
c8d67448a9 generate test image result in output folder 2015-08-27 10:51:09 +02:00
Laurent Le Goff
094e39780f add circle test 2015-08-27 10:42:02 +02:00
Laurent Le Goff
ad6b615bc4 Merge pull request #78 from stephenwithav/newgraphicontexts
Replace remaining draw2d.NewGraphicContext instances.
2015-08-20 09:41:00 +02:00
Steven Edwards
0e0aa125a3 Replace remaining draw2d.NewGraphicContext instances. 2015-08-19 15:42:16 -04:00
Laurent Le Goff
bf42fff416 Add version info to README 2015-08-19 09:56:57 +02:00
Laurent Le Goff
ed44998c46 Merge pull request #74 from stephenwithav/fiximageexample
Change .NewGraphicContext package.
2015-08-17 11:54:28 +02:00
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