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:
8940775
)
Optimise copy image
author
amwaterhouse
<Andrew Waterhouse>
Tue, 20 Sep 2005 13:20:53 +0000
(13:20 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 20 Sep 2005 13:20:53 +0000
(13:20 +0000)
src/jalview/appletgui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/SeqCanvas.java
b/src/jalview/appletgui/SeqCanvas.java
index
fd83309
..
853a327
100755
(executable)
--- a/
src/jalview/appletgui/SeqCanvas.java
+++ b/
src/jalview/appletgui/SeqCanvas.java
@@
-140,8
+140,12
@@
public class SeqCanvas
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, er = av.endRes, ss = av.startSeq, es = av.endSeq,
\r
transX = 0, transY = 0;
\r