From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/pmio/pmsplane.x | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sys/pmio/pmsplane.x (limited to 'sys/pmio/pmsplane.x') diff --git a/sys/pmio/pmsplane.x b/sys/pmio/pmsplane.x new file mode 100644 index 00000000..4fcad1fd --- /dev/null +++ b/sys/pmio/pmsplane.x @@ -0,0 +1,22 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include +include + +# PM_SETPLANE -- Set the 2-Dim plane to be referenced in calls to the pm_box, +# pm_circle, etc. geometric region masking operators. + +procedure pm_setplane (pl, v) + +pointer pl #I mask descriptor +long v[ARB] #I vector defining plane + +include "pmio.com" + +begin + if (PM_MAPXY(pl) == YES) { + call imaplv (PM_REFIM(pl), v, v1, PM_MAXDIM) + call pl_setplane (pl, v1) + } else + call pl_setplane (pl, v) +end -- cgit