clip painting of capped-lines (brush strokes) to data rect