style(代码风格): 整理声明顺序与字体模块
build.yaml / build (push) Successful in 51s

This commit is contained in:
xiaoqidun committed 2026-09-28 15:17:45 +08:00
1 parent 5e0da3da28
commit ee6c9f6a16
82 files changed
+4316 -4310

No files matched your search

+7 -7
View File
@@ -22,6 +22,13 @@ import (
"slices"
)
// DrawStamp 保留签章图片和嵌套OFD的绘制顺序,不混入正文搜索
// 入参: stamp 印章
// 返回: error 印章解析或编译错误
func (c *semanticCompiler) DrawStamp(stamp Stamp) error {
return c.sharedStamp(stamp, (*semanticCompiler).drawStampContent)
}
// imageObject 共用图片定位、裁剪和边框,不在度量时读取像素
// 入参: object 图片对象, state 继承状态
// 返回: error 资源或几何错误
@@ -135,13 +142,6 @@ func (c *semanticCompiler) addImage(img image.Image, matrix Matrix, clip *Geomet
return nil
}
// DrawStamp 保留签章图片和嵌套OFD的绘制顺序,不混入正文搜索
// 入参: stamp 印章
// 返回: error 印章解析或编译错误
func (c *semanticCompiler) DrawStamp(stamp Stamp) error {
return c.sharedStamp(stamp, (*semanticCompiler).drawStampContent)
}
// drawStampContent 解释未缓存的签章内容,保持嵌套文档及裁剪语义
// 入参: stamp 印章
// 返回: error 印章解析或编译错误