Documentation
¶
Overview ¶
Package ftgg 提供基于 FloatTech/gg 的页面栅格化后端(fogleman API + freetype/raster),通过空白导入注册到 internal/render 的注册表(Go image 包风格):
import _ "github.com/zc310/ofd/internal/render/backends/ftgg"
之后即可用 drawing.BackendFTGG="ftgg" 作为栅格后端名,或经 converter.RasterBackend("ftgg") 使用。 只用于渲染速度对照实验,不承诺与 canvas/gogpu 的逐像素输出一致。 渲染上下文状态机由 internal/render/backends/rastercore 共享,本包只依赖 geom 类型,不依赖 tdewolff/canvas。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.