mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 15:06:46 +08:00
1 parent
875de1cea8
commit
c68bf1f3c9
2 files changed
+1
-2
No files matched your search
@@ -126,7 +126,6 @@ func (r *Renderer) renderCompositeGraphicUnit(ctx *canvas.Context, cgu Composite
|
||||
currentCTM := boundaryCTM.Multiply(NewMatrix(cgu.CTM))
|
||||
clips, clipCTM := cgu.Clips, currentCTM
|
||||
if clips != nil && clips.TransFlag != nil && !*clips.TransFlag {
|
||||
// 不参与对象CTM的裁剪仍位于对象边界及父级坐标系中
|
||||
clipCopy := *clips
|
||||
clipCopy.TransFlag = nil
|
||||
clips, clipCTM = &clipCopy, boundaryCTM
|
||||
|
||||
Reference in new issue
Block a user