2013-03-07 22:31:32 +01:00
|
|
|
# testcase format is:
|
|
|
|
# <bbox>;<input geometry>;<expected clipped geometry>
|
|
|
|
# SEG_END=0 SEG_MOVETO = 1 SEG_LINETO = 2 SEG_CLOSE = (0x40 | 0x0f)
|
|
|
|
50,50,150,150;0 0 1,200 200 2;50 50 1,150 150 2
|
|
|
|
50,50,150,150;50 50 1,150 50 2,150 150 2,50 150 2,50 50 2;50 50 1,150 50 2,150 150 2,50 150 2,50 50 2
|
2013-05-21 06:44:43 +02:00
|
|
|
# points are dropped by line clipper
|
|
|
|
50,50,150,150;75 75 1;
|
2013-03-07 22:31:32 +01:00
|
|
|
# TODO - should the close path be kept after clipping?
|
2013-03-15 13:51:31 +01:00
|
|
|
# 50,50,150,150;50 50 1,150 50 2,150 150 2,50 150 2,50 50 2,0 0 79;50 50 1,150 50 2,150 150 2,50 150 2,50 50 2
|