pathbuild

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package pathbuild 将 OFD 路径命令及对象坐标转换为只读绘制路径。 路径构造只依赖模型与几何类型,不持有文档资源或绘制后端。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cp *spec.CtPath, transform func(pt spec.StPos) (float64, float64)) *geom.Path

New 按给定仿射坐标变换构造路径,跳过参数缺失或坐标非有限的命令。 圆弧的半径、轴向及扫掠方向与端点一起变换。

func Object

func Object(object spec.PathObject, pageHeight float64, parentCTM *spec.CTM) *geom.Path

Object 将路径对象映射到画布坐标,叠加可选的父级变换。 无效矩阵或边界产生空路径,组合矩阵只计算一次。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL