From d31d420f597fc0dc8e6ff6a14070b6bcb8213f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Tue, 16 Nov 2010 10:30:10 +0100 Subject: Symbols are required to save cairo state. --- src/ld-symbol.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ld-symbol.c') diff --git a/src/ld-symbol.c b/src/ld-symbol.c index 42c01cd..5919b8e 100644 --- a/src/ld-symbol.c +++ b/src/ld-symbol.c @@ -73,6 +73,9 @@ ld_symbol_area_get_type (void) * * #LdSymbol represents a symbol in the #LdDocument that is in turn * drawn onto the #LdCanvas. + * + * All implementations of this abstract class are required to use + * cairo_save() and cairo_restore() when drawing to store the state. */ G_DEFINE_ABSTRACT_TYPE (LdSymbol, ld_symbol, G_TYPE_OBJECT); -- cgit v1.2.3