Line in path group is rendered correctly with all origins.

Context translation done before rendering uses origin-adjusted
coordinates.

Added _getCenterToCenter helper methods produce the distance from
center of path group to center of line.