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

include	<gki.h>
include	"stdgraph.h"

# STG_PMSET -- Set the polymarker attributes.

procedure stg_pmset (gki)

short	gki[ARB]		# attribute structure
pointer	pm
include	"stdgraph.com"

begin
	pm = SG_PMAP(g_sg)
	PM_LTYPE(pm) = gki[GKI_PMSET_MT]
	PM_WIDTH(pm) = max (1, nint (GKI_UNPACKREAL (gki[GKI_PMSET_MW])))
	PM_COLOR(pm) = gki[GKI_PMSET_CI]
end