debrief / ppt_renderer

Development project to produce body of scripts for manipulating PPT slide
Eclipse Public License 2.0
2 stars 0 forks source link

Learn about origin of motion path #11

Closed IanMayo closed 6 years ago

IanMayo commented 6 years ago

I created a Callout shape on a slide. Then I produced an custom path for it to follow: image

I expected the callout to follow the path.

But, when the animation starts, the callout shape jumps down before it starts moving along the path (possibly so it's centred over the path). This means the pointer at the bottom of the callout isn't pointing at the line. Clearly the anchor for the animation is the centre of the callout. Not the geometric centre, but the centre of the text-area for the call-out.

I've found that I have to move the motion path up to the centre of the shape for the Callout shape to follow the correct route: image

We need to learn about this. We may need to determine the dimensions of the callout, in order to apply the correct offset.

Hmm, I think this data may give the offset to the centre of the shape: image