package
Version:
v0.1.7
Opens a new window with list of versions in this module.
Published: Oct 30, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 23
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package canvas 提供 tdewolff/canvas 的 render 后端实现:DrawContext
(canvasBackend)、矢量表面与 PDF 写入器(VectorSurface/PDFDocument)、
SVG 场景、离屏栅格表面、内置栅格后端(BackendCanvas),以及默认字体引擎
(由 canvasfont 包注册)。
空白导入本包即可注册上述能力:
import _ "github.com/zc310/ofd/internal/render/backends/canvas"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.