Batched linedrawer implementing border rectangle rendering