Transform all grid lines for a given coordinate in one go, and avoid recomoputing frame patch every time a grid line is drawn.