Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ WdthOfScren(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XWidthOfScreen, XWidthMMOfScreen, WidthOfScreen, WidthMMOfScreen — get width of screen in pixels or millimeters

SYNOPSIS

int XWidthOfScreen(screen)
      Screen ∗screen; int XWidthMMOfScreen(screen)
      Screen ∗screen;

ARGUMENTS

screenSpecifies the appropriate Screen structure. 

RETURNS

The width in pixels or millimeters. 

DESCRIPTION

XWidthOfScreen() returns the width of the specified screen in pixels.  XWidthMMOfScreen() returns the width of the specified screen in millimeters. 

The C language macros WidthOfScreen() and WidthMMOfScreen() are equivalent and slightly more efficient. 

These functions are equivalent to XDisplayWidth∗() and XDisplayWidthMM() except that they take different arguments. 

SEE ALSO

XDisplayHeight(), XDisplayHeightMM(). 

Xlib Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026