vtkCaption2D border size

I’m having trouble gettting the size of the border to match the text.

It seems a bit like a catch 22 in that the size of the text is not known until render.

So getting the bounds of a new caption before rendering is incorrect.

Ok so what I’ve done is use


Then I map the bbox from display to normalized view coordinates.

I then set Point2 to the width and height.
But that makes the box (and the text) way to small), so the width seems incorrect.

Any advice appreciated (perhaps I’m missing something simple?)


So, I must be not understanding