context2d.js 352 B

1234567891011121314
  1. 'use strict'
  2. /*!
  3. * Canvas - Context2d
  4. * Copyright (c) 2010 LearnBoost <tj@learnboost.com>
  5. * MIT Licensed
  6. */
  7. const bindings = require('./bindings')
  8. const parseFont = require('./parse-font')
  9. const { DOMMatrix } = require('./DOMMatrix')
  10. bindings.CanvasRenderingContext2dInit(DOMMatrix, parseFont)
  11. module.exports = bindings.CanvasRenderingContext2d