1.0.0 • Published 10 years ago
fontpath-draw-glyph v1.0.0
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.
1.0.0
10 years ago