Commit graph

414 commits

Author SHA1 Message Date
redstarcoder
3a5a1d8830 Implement seamless glyph cache 2016-10-22 22:31:55 -04:00
llgcode
51ba099819 fix comment 2016-10-17 10:46:10 +02:00
llgcode
a6ceba03c8 Merge pull request #112 from redstarcoder/draw2dgl_fonts
Draw2dgl Font Support
2016-10-16 20:47:51 +02:00
redstarcoder
475a830567 Cleaned up extra FIXMEs 2016-10-15 16:15:10 -04:00
redstarcoder
105a963210 Copied font functions from draw2dimg to draw2dgl
cursor -> width for certain functions for clarity
Some panics added, some TODOs added
2016-10-15 16:15:10 -04:00
llgcode
13548be874 Merge pull request #106 from kortschak/fix-font-cache
Fix unnecessary filesystem access
2016-07-12 10:12:54 +02:00
kortschak
e0e534f3a5 Fix unnecessary filesystem access
Fixes #105.
2016-07-12 16:24:44 +09:30
llgcode
155ff5c755 Merge pull request #94 from achille-roussel/master
draw2d.FontCache
2016-07-08 10:26:28 +02:00
Laurent Le Goff
3f01cfe277 use parameter op fix #103 2016-06-27 21:46:37 +02:00
llgcode
5e675a3055 Merge pull request #102 from zstyblik/fix-typos
Fix typos and add more comments/documentation
2016-04-28 20:44:47 +02:00
Zdenek Styblik
3bb234e85b 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-27 15:25:21 +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
Achille Roussel
6c047429f6 remove unused global variables 2015-11-18 15:00:27 -08:00
Achille Roussel
598513aa60 add FontCache 2015-11-18 14:59:19 -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