Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ clear_contr(3G) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

background_color(3g)

,clear_view_surface(3g)

,clip_rectangle(3g)

set_p1_p2(3g)

vdc_extent(3g)

CLEAR_CONTROL(3G)

NAME

clear_control − select the type of clearing for subsequent clear_view_surface procedures. 

SYNOPSIS

C SYNTAX

void clear_control(fildes,mode);
int fildes,mode;

FORTRAN77 SYNTAX

        subroutine clear_control(fildes,mode)
        integer*4 fildes,mode

PASCAL SYNTAX

procedure clear_control(fildes,mode:integer);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: ANSI Computer Graphics Interface

DESCRIPTION

INPUT PARAMETERS

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphic device is opened. 
mode
one of the following values:

   CLEAR_VDC_EXTENT - clears the Virtual Device Coordinate
                     extent area.
   CLEAR_CLIP_RECTANGLE - clears the clip rectangle area.
   CLEAR_DISPLAY_SURFACE - clear the entire display surface.

DISCUSSION

For continuous feed hard copy devices, CLEAR_DISPLAY_SURFACE will cause a new page action. 

DEFAULTS

Clear the entire display surface. 

SEE ALSO

background_color(3g),clear_view_surface(3g),clip_rectangle(3g), set_p1_p2(3g), vdc_extent(3g). 

Hewlett-Packard Company  —  May 11, 2021

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