From 940cfe058571e655c933b92681396b589b80a307 Mon Sep 17 00:00:00 2001 From: Sebastian Leske Date: Mon, 28 Sep 2015 22:16:33 +0200 Subject: Add Doxygen comments, remove unused struct members Add Doxygen comments for font/freetype and graphics.c, and move comment from static function to freetype.h, where Doxygen will read it. Remove unused members from struct font_freetype_text. --- navit/graphics.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'navit/graphics.c') diff --git a/navit/graphics.c b/navit/graphics.c index 44993b3e3..e27794382 100644 --- a/navit/graphics.c +++ b/navit/graphics.c @@ -868,7 +868,12 @@ void graphics_image_free(struct graphics *gra, struct graphics_image *img) } /** - * Report the beginning or the end of a set of drawing operations. + * @brief Start or finish a set of drawing operations. + * + * graphics_draw_mode(draw_mode_begin) must be invoked before performing any drawing + * operations; this allows the graphics driver to perform any necessary setup. + * graphics_draw_mode(draw_mode_end) must be invoked to finish a set of drawing operations; + * this will typically clean up drawing resources and display the drawing result. * @param this_ graphics object that is being drawn to * @param mode specify beginning or end of drawing * @author Martin Schaller (04/2008) -- cgit v1.2.1