Commit graph

477 commits

Author SHA1 Message Date
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
llgcode
1286d3b203 Merge pull request #120 from redstarcoder/kerning_fix
Factor in kerning when using cached glyphs. fix #119
2016-11-04 09:10:29 +01:00
redstarcoder
c12070824c Factor in kerning when using cached glyphs 2016-10-30 12:41:31 -04:00
llgcode
0d961cd299 Merge pull request #118 from redstarcoder/text_cache_upstream
Seamless Glyph Cache
2016-10-26 10:35:50 +02:00
redstarcoder
7cc6abeee3 Made FetchGlyph and Glyph public, made FillGlyph and StrokeGlyph methods of Glyph, made Glyph.Path private 2016-10-25 21:24:40 -04:00
llgcode
401ee667f2 Merge pull request #113 from redstarcoder/pathbuilder_copypath
Add GetPath to the GraphicContext interface.
2016-10-24 10:08:26 +02:00
redstarcoder
c2920005d6 Moved cache code to draw2dbase 2016-10-22 22:50:11 -04:00
redstarcoder
c2851a6eb6 Improved speed via new gc.GetFontName method 2016-10-22 22:36:52 -04:00
redstarcoder
3a5a1d8830 Implement seamless glyph cache 2016-10-22 22:31:55 -04:00
redstarcoder
b9005c988d Fixed comment 2016-10-19 15:01:45 -04:00
redstarcoder
4a3322e29e CopyPath -> GetPath. Also return Path instead of *Path. 2016-10-19 14:53:36 -04:00
redstarcoder
8380dd9458 Added CopyPath to the GraphicContext interface. 2016-10-17 19:36:31 -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