{
return imgWidth;
}
+ private int[] bounds = new int[2];
+ @Override
+ public int[] getVisibleVRange()
+ {
+ int sOffset=-ap.alabels.scrollOffset;
+ int visHeight = sOffset+ap.annotationPanelHolder.getHeight();
+ bounds[0] = sOffset; bounds[1]=visHeight;
+ return bounds;
+ }
+
}
{
return imgWidth;
}
+ private int[] bounds = new int[2];
+ @Override
+ public int[] getVisibleVRange()
+ {
+ int sOffset=-ap.alabels.scrollOffset;
+ int visHeight = sOffset+ap.annotationSpaceFillerHolder.getHeight();
+ bounds[0] = sOffset; bounds[1]=visHeight;
+ return bounds;
+ }
}
*/
int getFadedImageWidth();
+ /**
+ * height of visible area on to the image - used to draw only what is visible.
+ * @return [start, end of visible region]
+ */
+ int[] getVisibleVRange();
+
}