feat(性能优化): 优化页面渲染与文字传输性能
build.yaml / build (push) Successful in 42s

This commit is contained in:
xiaoqidun committed 2026-09-13 20:16:39 +08:00
1 parent 2b2e83bdbe
commit 740c088bfd
9 files changed
+34 -6

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ import (
// renderImage 渲染图片
// 入参: ctx 画布上下文, obj 图片对象, pageH 页面高度, parentCTM 父级CTM, boundaryInCTM 边界是否参与父级CTM, parentClip 父级裁剪路径
func (r *Renderer) renderImage(ctx *canvas.Context, obj ImageObject, pageH float64, parentCTM *Matrix, boundaryInCTM bool, parentClip *canvas.Path) {
if r.pageText != nil {
if r.textOnly {
return
}
if obj.Visible != nil && !*obj.Visible {