X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fcore%2FBox.java;h=595e10102263dfee52d12bd9c630c6b82d3d2963;hp=ffec434e18da5b796e3b68d2ac3cd171ff7d12ee;hb=b006064e811524b4140b0e933ccf49b86d692ea9;hpb=531e31402f74fa636b2d9a2a367305bfd0777cdc diff --git a/src/org/ibex/core/Box.java b/src/org/ibex/core/Box.java index ffec434..595e101 100644 --- a/src/org/ibex/core/Box.java +++ b/src/org/ibex/core/Box.java @@ -106,7 +106,7 @@ public final class Box extends JS.Obj implements Callable, Mesh.Chain { public void dirty() { if (path==null) dirty(0, 0, contentwidth, contentheight); else dirty(path); } public void dirty(int x, int y, int w, int h) { } public void dirty(Path p) { - Affine a = transform; + Affine a = transform.copy(); for(Box cur = this; cur != null; cur = cur.parent) a.premultiply(cur.transform); long hbounds = p.horizontalBounds(a); long vbounds = p.verticalBounds(a); @@ -247,7 +247,7 @@ public final class Box extends JS.Obj implements Callable, Mesh.Chain { return; } - if (clipFrom != null) clipFrom.subtract(mesh, clipa); + //if (clipFrom != null) clipFrom.subtract(mesh, clipa); Mesh mesh = treeSize() > 0 ? this.mesh.copy() : this.mesh; for(Box b = getChild(0); b != null; b = b.nextSibling()) b.render(buf, a, mesh, Affine.identity()); mesh.fill(buf, a, null, fillcolor, true);