projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3ef62
)
fixed incredibly stupid bug that was wacking out the transform every time we dirtied
author
adam
<adam@megacz.com>
Mon, 24 Oct 2005 02:30:14 +0000
(
02:30
+0000)
committer
adam
<adam@megacz.com>
Mon, 24 Oct 2005 02:30:14 +0000
(
02:30
+0000)
darcs-hash:
20051024023014
-5007d-
69499de3e64921f651cc9675ea8fbd1a9805f62d
.gz
src/org/ibex/core/Box.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/core/Box.java
b/src/org/ibex/core/Box.java
index
ffec434
..
09b43ae
100644
(file)
--- 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);