Class GLFWUIUtil

java.lang.Object
dev.pfaff.altargui.glfw.GLFWUIUtil

public final class GLFWUIUtil extends Object
  • Constructor Details

  • Method Details

    • framebufferSizeChanged

      public void framebufferSizeChanged(int width, int height)
    • contentScaleChanged

      public void contentScaleChanged(float x, float y)
    • windowSizeChanged

      public void windowSizeChanged(int width, int height)
    • screenCoordinatesToVirtualPixelsScaleFactor

      public float screenCoordinatesToVirtualPixelsScaleFactor()
      The scale factor necessary to convert screen coordinates (i.e. mouse position from GLFW callback) to "virtual pixels" used by Altar GUI.