fixed-point-slope

A: (a,b) - fixed[br]B: (c,d)
DX, DY: slope components

Information: fixed-point-slope