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);
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);