Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # Interface : Pastel::Geometry::PathIterator.pm\r |
2 | \r | |
3 | package Pastel::Geometry::PathIteratorI;\r | |
4 | use Carp;\r | |
5 | \r | |
6 | #Static constants\r | |
7 | #use constant WIND_EVEN_ODD => 0;\r | |
8 | #use constant WIND_NON_ZERO => 1;\r | |
9 | #use constant SEG_MOVETO => 0;\r | |
10 | #use constant SEG_LINETO => 1;\r | |
11 | #use constant SEG_QUADTO => 2;\r | |
12 | #use constant SEG_CUBICTO => 3;\r | |
13 | #use constant SEG_CLOSE => 4;\r | |
14 | \r | |
15 | \r | |
16 | use constant WIND_EVEN_ODD => 'WIND_EVEN_ODD';\r | |
17 | use constant WIND_NON_ZERO => 'WIND_NON_ZERO';\r | |
18 | use constant SEG_MOVETO => 'SEG_MOVETO';\r | |
19 | use constant SEG_LINETO => 'SEG_LINETO';\r | |
20 | use constant SEG_QUADTO => 'SEG_QUADTO';\r | |
21 | use constant SEG_CUBICTO => 'SEG_CUBICTO';\r | |
22 | use constant SEG_CLOSE => 'SEG_CLOSE';\r | |
23 | \r | |
24 | use strict;\r | |
25 | \r | |
26 | sub _die {\r | |
27 | croak "Abstract method call in Pastel::Geometry::PathIteratorI\n";\r | |
28 | }\r | |
29 | \r | |
30 | sub get_winding_rule {\r | |
31 | _die;\r | |
32 | }\r | |
33 | \r | |
34 | sub is_done {\r | |
35 | _die();\r | |
36 | }\r | |
37 | \r | |
38 | sub next {\r | |
39 | _die();\r | |
40 | }\r | |
41 | \r | |
42 | sub current_segment {\r | |
43 | _die();\r | |
44 | }\r | |
45 | \r | |
46 | 1;\r | |
47 | \r | |
48 | \r | |
49 | \r |