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-09-15 01:44:04 +0200
commit6026061e700dbefc4fff6122837b2a2a156d739c (patch)
tree821699700a8aad456a03294fd385a77ab9a3e537 /atari/plot/plot.c
parenta6060a520e8f6ff816b3e0fe4619833dacb0b7cd (diff)
downloadnetsurf-6026061e700dbefc4fff6122837b2a2a156d739c.tar.gz
netsurf-6026061e700dbefc4fff6122837b2a2a156d739c.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);