Skip to content

mattdesl/fontpath-draw-glyph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fontpath-draw-glyph

experimental

Draws a single fontpath glyph to the canvas using the native bezier/quadratic functions of HTML5 canvas API. Mostly used internally.

Usage

NPM

var draw = require('fontpath-draw-glyph')

//draws the glyph with the given scale/position to the context
draw(context, glyph, scale, x, y)

License

MIT, see LICENSE.md for details.

About

draws a single fontpath glyph to the canvas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published