line_filter(3G)
NAME
line_filter − select an anti-aliasing filter type for line primitives
perimeter_filter − select an anti-aliasing filter type for polygon primitives
SYNOPSIS
C Syntax:
void line_filter(fildes,index);
int fildes, index;
void perimeter_filter(fildes,index);
int fildes, index;
FORTRAN77 Syntax:
subroutine line_filter(fildes,index)
integer*4 fildes, index
subroutine perimeter_filter(fildes,index)
integer*4 fildes, index
Pascal Syntax:
procedure line_filter(fildes,index:integer);
procedure perimeter_filter(fildes,index:integer);
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphic device is opened.
index Selects one filter from of a set of predefined filters.
Discussion
These procedures select an anti-aliasing filter to be used on subsequent line drawing or filled primitive perimeters. In addition, when the interior_style is set to INT_OUTLINE the current_perimeter_filter is applied. Index zero (0) is used by all devices to turn off anti-aliasing. The other indices are device dependent and listed in the Starbase Device Drivers Library Manual.
DEFAULTS
Index = 0, no filtering.
SEE ALSO
Starbase Device Drivers Library.
Hewlett-Packard Company — HP-UX Release 9.03: April 1994