~centralelyon2010/inkscape/imagelinks2

1 by mental
moving trunk for module inkscape
1
#ifndef SEEN_SP_MARKER_LOC_H
2
#define SEEN_SP_MARKER_LOC_H
3
4
/**
5
 * These enums are to allow us to have 4-element arrays that represent a set of marker locations
6
 * (all, start, mid, and end).  This allows us to iterate through the array in places where we need
7
 * to do a process across all of the markers, instead of separate code stanzas for each.
8868 by Johan Engelen
add cxxtests for marker_loc enum. code depends on the exact values of the enumeration.
8
 *
9
 * IMPORTANT:  the code assumes that the locations have the values as written below! so don't change the values!!!
1 by mental
moving trunk for module inkscape
10
 */
11
enum SPMarkerLoc {
7061 by johanengelen
make 'marker' property work (shorthand for start, mid and end markers); inkscape now passes svg testsuite painting-marker-03-f.svg
12
    SP_MARKER_LOC = 0,
13
    SP_MARKER_LOC_START = 1,
14
    SP_MARKER_LOC_MID = 2,
15
    SP_MARKER_LOC_END = 3,
16
    SP_MARKER_LOC_QTY = 4
1 by mental
moving trunk for module inkscape
17
};
18
19
20
#endif /* !SEEN_SP_MARKER_LOC_H */
21
22
/*
23
  Local Variables:
24
  mode:c++
25
  c-file-style:"stroustrup"
26
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
27
  indent-tabs-mode:nil
28
  fill-column:99
29
  End:
30
*/
31
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :