summaryrefslogtreecommitdiff
path: root/atari/plot/plot.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-09-15 01:44:04 +0200
committerOle Loots <ole@monochrom.net>2013-10-06 01:24:14 +0200
commit2c0bcc39bdcac27668034f0c56d4919d681b3bfe (patch)
treeb20b48b2f97e7b0064d44d111ae24bac38a02614 /atari/plot/plot.c
parent569b74817271b84f9ebb61e379db57061032ffab (diff)
downloadnetsurf-2c0bcc39bdcac27668034f0c56d4919d681b3bfe.tar.gz
netsurf-2c0bcc39bdcac27668034f0c56d4919d681b3bfe.tar.bz2
Added plot_get/set_text_plotter and comments
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);