Function glfwGetMonitorWorkarea

  • This function returns the position, in screen coordinates, of the upper-left corner of the work area of the specified monitor along with the work area size in screen coordinates. The work area is defined as the area of the monitor not occluded by the operating system task bar where present. If no task bar exists then the work area is the monitor resolution in screen coordinates.

    Any or all of the position and size arguments may be null. If an error occurs, all non-null position and size arguments will be set to zero.

    Parameters

    • monitor: GLFWmonitor

      The monitor to query.

    • xpos: number

      Where to store the monitor x-coordinate, or null.

    • ypos: number

      Where to store the monitor y-coordinate, or null.

    • width: number

      Where to store the monitor width, or null.

    • height: number

      Where to store the monitor height, or null.

    Returns void

Generated using TypeDoc