git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b0a15
)
Optimise graphics copy object
author
amwaterhouse
<Andrew Waterhouse>
Tue, 20 Sep 2005 13:13:49 +0000
(13:13 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 20 Sep 2005 13:13:49 +0000
(13:13 +0000)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
657b9d9
..
1ed5e50
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-191,8
+191,12
@@
public class SeqCanvas extends JComponent
return;
\r
}
\r
\r
- gg.copyArea(0, 0, imgWidth, imgHeight, -horizontal * av.charWidth,
\r
- -vertical * av.charHeight);
\r
+ gg.copyArea(horizontal * av.charWidth,
\r
+ vertical * av.charHeight,
\r
+ imgWidth,
\r
+ imgHeight,
\r
+ -horizontal * av.charWidth,
\r
+ -vertical * av.charHeight);
\r
\r
int sr = av.startRes;
\r
int er = av.endRes;
\r