Midpoint line decision

ID: midpoint-line-decision

For the implicit equation , the sign of compares the exact line with the midpoint between candidate pixel centres and . Multiplication by two makes the test integral. A consistent equality rule specifies which tied pixel is selected.

New to topics? Read the docs here!