summaryrefslogtreecommitdiff
path: root/gs/base/gsstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/base/gsstate.c')
-rw-r--r--gs/base/gsstate.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gs/base/gsstate.c b/gs/base/gsstate.c
index 470ca8eea..d279acecd 100644
--- a/gs/base/gsstate.c
+++ b/gs/base/gsstate.c
@@ -839,6 +839,20 @@ gs_currenttextrenderingmode(const gs_state * pgs)
return pgs->text_rendering_mode;
}
+/* sethpglfillmode */
+void
+gs_sethpglfillmode(gs_state * pgs, int fill)
+{
+ pgs->hpgl_fill_mode = fill;
+}
+
+/* currenthpglfillmode */
+int
+gs_currenthpglfillmode(const gs_state * pgs)
+{
+ return pgs->hpgl_fill_mode;
+}
+
/* ------ Internal routines ------ */
/* Free the privately allocated parts of a gstate. */