aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/gframe.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gio/gframe.x')
-rw-r--r--sys/gio/gframe.x18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/gio/gframe.x b/sys/gio/gframe.x
new file mode 100644
index 00000000..02a1e41e
--- /dev/null
+++ b/sys/gio/gframe.x
@@ -0,0 +1,18 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include <gio.h>
+
+# GFRAME -- Clear the screen, but do not modify the internal state of GIO,
+# other than to reset the WCS and attribute packet states to UNSET, to force
+# retranmission to the graphics kernel.
+
+procedure gframe (gp)
+
+pointer gp # graphics descriptor
+
+begin
+ call gactivate (gp, 0)
+ call gpl_flush()
+ call gki_clear (GP_FD(gp))
+ call gfrinit (gp)
+end