private Point getImageComponentCenter() {
		Rectangle bounds = imageScroller.getBounds();
		double cx = bounds.getCenterX();
		double cy = bounds.getCenterY();

		Point p = new Point(bounds.x + (int) cx, bounds.y + (int) cy);
		return p;
	}
Set the default zoom level, adhering to the same set of constrains as {@link #setZoomFactor(float)}
@param zoom the zoom
@see #setZoomFactor(float)
@see #resetZoom()
Ghidra/Framework/Docking/src/main/java/docking/widgets/imagepanel/ImagePanel.java