Identify the reference origin for a GUI position

A graphical application displays a scrollable document inside a viewport. The viewport sits within the window's client area. A GUI inspector can report the same document point in several coordinate spaces.


Match each coordinate space to the origin used to measure its positions. Assume one display, with horizontal positions increasing rightward and vertical positions increasing downward.

Match each term
A.

The upper-left corner of the full document, before any scroll displacement is applied

B.

The upper-left corner of the entire display, including the application's placement on it

C.

The upper-left corner of the application's client area, excluding the outer frame and title bar

D.

The upper-left corner of the viewing rectangle, with scroll displacement already applied to document points

Client coordinates

Content coordinates

Viewport coordinates

Screen coordinates

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Graphical User Interfaces Questions: