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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i fontpath-draw-glyph

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mattdesl