Code

Store cached icons to disk between runs, and invalidate/purge as needed.
[inkscape.git] / src / sp-tspan.h
1 #ifndef INKSCAPE_SP_TSPAN_H
2 #define INKSCAPE_SP_TSPAN_H
4 /*
5  * tspan and textpath, based on the flowtext routines
6  */
8 #include <glib/gtypes.h>
9 #include "sp-item.h"
10 #include "text-tag-attributes.h"
13 #define SP_TYPE_TSPAN (sp_tspan_get_type())
14 #define SP_TSPAN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_TSPAN, SPTSpan))
15 #define SP_TSPAN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_TSPAN, SPTSpanClass))
16 #define SP_IS_TSPAN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_TSPAN))
17 #define SP_IS_TSPAN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_TSPAN))
20 enum {
21     SP_TSPAN_ROLE_UNSPECIFIED,
22     SP_TSPAN_ROLE_PARAGRAPH,
23     SP_TSPAN_ROLE_LINE
24 };
26 struct SPTSpan : public SPItem {
27     guint role : 2;
28     TextTagAttributes attributes;
29 };
31 struct SPTSpanClass {
32     SPItemClass parent_class;
33 };
35 GType sp_tspan_get_type();
38 #endif /* !INKSCAPE_SP_TSPAN_H */
40 /*
41   Local Variables:
42   mode:c++
43   c-file-style:"stroustrup"
44   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
45   indent-tabs-mode:nil
46   fill-column:99
47   End:
48 */
49 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :