diff options
Diffstat (limited to 'sys/gio/stdgraph/stgpmset.x')
-rw-r--r-- | sys/gio/stdgraph/stgpmset.x | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/gio/stdgraph/stgpmset.x b/sys/gio/stdgraph/stgpmset.x new file mode 100644 index 00000000..6651564f --- /dev/null +++ b/sys/gio/stdgraph/stgpmset.x @@ -0,0 +1,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 |