From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/gio/cursor/grcredraw.x | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys/gio/cursor/grcredraw.x (limited to 'sys/gio/cursor/grcredraw.x') diff --git a/sys/gio/cursor/grcredraw.x b/sys/gio/cursor/grcredraw.x new file mode 100644 index 00000000..4317db96 --- /dev/null +++ b/sys/gio/cursor/grcredraw.x @@ -0,0 +1,21 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include +include "grc.h" + +# GRC_REDRAW -- Redraw the screen, and, if the "axes" flag is set, draw the axes +# of the plot. + +procedure grc_redraw (rc, stream, sx, sy, raster, rx, ry) + +pointer rc #I rcursor descriptor +int stream #I graphics stream +real sx, sy #I screen coords of cursor +int raster #I raster number +real rx, ry #I raster coords of cursor + +begin + call gtr_redraw (stream) + if (RC_AXES(rc) == YES) + call grc_axes (stream, sx, sy, raster, rx, ry) +end -- cgit