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

include	<gset.h>
include	"gks.h"

# GFA -- Fill area.  The style of fill has already been set and is read
# from gio.com.

procedure gfa (n, px, py)

int	n		# Number of points
real	px[n], py[n]	# Coordinates of points in world coordinates

int	i
include "gks.com"

begin
	do i = 1, NDEV {
	    if (gk_status[i] == ACTIVE)
		call gfill (gp[i], px, py, n, gk_style)
	}
end