Unify interface for blitter and cpu line drawing.