summaryrefslogtreecommitdiff
path: root/atari/plot/plot.c
diff options
context:
space:
mode:
Diffstat (limited to 'atari/plot/plot.c')
-rwxr-xr-xatari/plot/plot.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/atari/plot/plot.c b/atari/plot/plot.c
index 33810b74e..80eda6949 100755
--- a/atari/plot/plot.c
+++ b/atari/plot/plot.c
@@ -1974,6 +1974,16 @@ void plot_get_clip_grect(GRECT * out)
out->g_h = clip.y1 - clip.y0;
}
+FONT_PLOTTER plot_get_text_plotter()
+{
+ return(fplotter);
+}
+
+void plot_set_text_plotter(FONT_PLOTTER font_plotter)
+{
+ fplotter = font_plotter;
+}
+
static bool plot_text(int x, int y, const char *text, size_t length, const plot_font_style_t *fstyle )
{
fplotter->text(fplotter, x, y, text, length, fstyle);