mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
This commit is contained in:
1 parent
2cc6c121f8
commit
7f79d1e70a
18 files changed
+757
-129
No files matched your search
@@ -34,6 +34,10 @@ func (r *Renderer) renderImage(ctx *canvas.Context, obj ImageObject, pageH float
|
||||
if r.textOnly {
|
||||
return
|
||||
}
|
||||
if _, ok := ctx.Renderer.(*boundsRenderer); ok {
|
||||
r.measureImage(ctx, obj, pageH, parentCTM, boundaryInCTM, parentClip)
|
||||
return
|
||||
}
|
||||
if obj.Visible != nil && !*obj.Visible {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user