Repository navigation
Commit 57e4991
committed
Add path conversion, containment and intersection to Region
Region(IPath, IntersectionRule) scan-converts a path into the integer
pixels whose centres lie inside it. Contains(Region) and
Intersects(Region) compare two regions band by band. The integer clip
rounds the path bounds outwards, the same rounding the library applies
to clip bounds, so no pixel whose centre lies inside the path is lost.1 parent f5cc287 commit 57e4991
2 files changed
Lines changed: 792 additions & 4 deletions
0 commit comments