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
|
|
|
|
# TODO - should the close path be kept after clipping?
|
2013-03-13 23:26:54 +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
|