Bugfix for line_of()

This commit is contained in:
Garth Minette
2021-07-05 20:46:43 -07:00
parent 0b342bea6f
commit c967b507a6
3 changed files with 26 additions and 1 deletions

View File

@@ -242,5 +242,11 @@ module test_mask2d_ogee() {
test_mask2d_ogee();
module test_dashed_stroke() {
segs = dashed_stroke([[0,0],[10,0]], dashpat=[3,2], closed=false);
assert_equal(segs,[[[0,0],[3,0]], [[5,0],[8,0]]]);
}
test_dashed_stroke();
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap