From 6026061e700dbefc4fff6122837b2a2a156d739c Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sun, 15 Sep 2013 01:44:04 +0200 Subject: Added plot_get/set_text_plotter and comments --- atari/plot/plot.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'atari/plot/plot.c') 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); -- cgit v1.2.3