Detect almost any overlap of pixel and mask (#828)

Exact algorithm for rectangular mask; sufficient approximation for ellipse and polygon.

This resolves #828 (closed).

Merge request reports

Loading