summaryrefslogtreecommitdiff
path: root/navit/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'navit/graphics.h')
-rw-r--r--navit/graphics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/navit/graphics.h b/navit/graphics.h
index f1e782f0b..a9268e07a 100644
--- a/navit/graphics.h
+++ b/navit/graphics.h
@@ -101,6 +101,11 @@ struct graphics_gc_methods {
void (*gc_set_background)(struct graphics_gc_priv *gc, struct color *c);
};
+/**
+ * @brief graphics context
+ * A graphics context encapsulates a set of drawing parameters, such as
+ * linewidth and drawing color.
+ */
struct graphics_gc {
struct graphics_gc_priv *priv;
struct graphics_gc_methods meth;