fontpath-draw-glyph

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i fontpath-draw-glyph

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mattdesl