+ int getWrappedHeight()\r
+ {\r
+\r
+ int chunkWidth = seqPanel.seqCanvas.getWrappedCanvasWidth(\r
+ seqPanel.seqCanvas.getWidth());\r
+\r
+ int hgap = av.charHeight;\r
+ if (av.scaleAboveWrapped)\r
+ hgap += av.charHeight;\r
+\r
+ int annotationHeight = 0;\r
+ if (av.showAnnotation)\r
+ {\r
+ annotationHeight = annotationPanel.adjustPanelHeight();\r
+ }\r
+\r
+ int cHeight = av.getAlignment().getHeight() * av.charHeight\r
+ + hgap\r
+ + annotationHeight;\r
+\r
+\r
+ int height = ( (av.alignment.getWidth() / chunkWidth) + 1) * cHeight;\r
+\r
+ return height;\r
+ }\r
+\r