ccc-tnt-psd2ui/npm-packages/mac-v3.4.+/canvas/lib/context2d.js
2023-07-24 11:13:08 +08:00

15 lines
352 B
JavaScript

'use strict'
/*!
* Canvas - Context2d
* Copyright (c) 2010 LearnBoost <tj@learnboost.com>
* MIT Licensed
*/
const bindings = require('./bindings')
const parseFont = require('./parse-font')
const { DOMMatrix } = require('./DOMMatrix')
bindings.CanvasRenderingContext2dInit(DOMMatrix, parseFont)
module.exports = bindings.CanvasRenderingContext2d