mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 16:59:27 +08:00
1 parent
5e0da3da28
commit
ee6c9f6a16
82 files changed
+4316
-4310
No files matched your search
@@ -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 印章解析或编译错误
|
||||
|
||||
Reference in new issue
Block a user