aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/sgikern/sgifa.x
blob: 37793f223b3d610f0994a5994c4e4ec603049dce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

include	"sgi.h"

# SGI_FILLAREA -- Fill a closed area.

procedure sgi_fillarea (p, npts)

short	p[ARB]			# points defining line
int	npts			# number of points, i.e., (x,y) pairs
include	"sgi.com"

begin
	# This kernel doesn't have any real fill area capability yet; if
	# fill area is enabled in the graphcap entry, just draw the outline
	# of the area.

	if (SGI_FILLAREA(g_kt) == YES)
	    call sgi_polyline (p, npts)
end