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

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

# GPM -- Polymarker.  Draw marks of type "gk_marker" and size 2.0
# at the given positions.  Marker type has already been set.

procedure gpm (n, px, py)

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

int	i
real	size
include	"gks.com"

begin
	# Marker size is a constant.
	size = 2.0
	do i = 1, NDEV {
	    if (gk_status[i] == ACTIVE)
    	        call gpmark (gp[i], px, py, n, gk_marker, size, size)
	}
end