by varying the relative positions of a swash plate and a cylinder block