File:  [CSRG BSD Unix] / 43BSD / contrib / X / doc / Xlib / ch03b.t
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

.NH 2
Display Coordinate System
.XS
Display Coordinate system
.XE
.PP
.IN "Definitions" "Coordinate System"
.IN "Definitions" "X Axis"
.IN "Definitions" "Y Axis"
As with most bitmap display systems, the coordinate system is
different from a cartesian coordinate system.
X and y coordinate systems are measured in pixels from
the UPPER LEFT corner of the screen or window.
.PP
This means that while the X coordinate behaves as one might expect,
the Y coordinate increases DOWN the screen.
.PP
.IN "Definitions" "Window Size"
When you specify the size of a window in X, it is the size of the
usable pixels inside the border.
.PP
X always measures window size in pixels EXCLUSIVE of borders, from the
upper left hand corner.
This is the actual usable size of the window.
.PP
If you query the root window, you can determine the absolute size of the 
display.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.