Is there a command or macro that can draw and automatically size the bounding rectangle of a pstricks
object, for example a circle — framing it tightly in effect, even when the object undergoes transformations such as rotations.
For example,
\documentclass[english, landscape, a4paper]{slides}
\usepackage{pstricks}
\begin{pspicture}(1,-1)(20,17)
\pscircle(5,5){2} % I'd like to draw the bounding box of this object
\end{pspicture}
Edit: the difficulty that I'm having is calculating the dimensions of the frame or bounding box.
Best Answer
or if you do not have it outside of the pspicture environment