code: @Pure
  	public double doc2fxX(double x) {
  		return this.centeringTransform.toCenterX(x) * this.scale.get() + this.canvasWidth.get() / 2.;
  	}
docs: Transform a document x coordinate to its JavaFX equivalent.
  
  @param x the document x coordinate.
  @return the JavaFX x coordinate.