new function gfxline_isrectangle()