Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XWidthOfScr(3x) — HP-UX ANSI C A.09.00

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. 

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(). 

Copyright O’Reilly & Assoc.  —  

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