It's not so common to move by one pixel. And your solution wastes CPU cycles because you recompute (pointB - pointA) for every pixel to move.
What is more common is to store a velocity and compute the move with the elapsed time.
pointA += velocity * elapsed.asSeconds();