aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/cursor/grcredraw.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gio/cursor/grcredraw.x')
-rw-r--r--sys/gio/cursor/grcredraw.x21
1 files changed, 21 insertions, 0 deletions
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 <gio.h>
+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