fontpath-draw-glyph
v1.0.0
Published
draws a single glyph to the canvas using the native bezier/quadratic functions
Downloads
8
Maintainers
Readme
fontpath-draw-glyph
Draws a single fontpath glyph to the canvas using the native bezier/quadratic functions of HTML5 canvas API. Mostly used internally.
Usage
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.