Function
get-origin pixmap-port => x y
A graphics port
An integer
An integer
:relative t, the drawing may have been shifted. Theget-origin values tell you by how much. The values are not needed when making images from the port's drawing.
(with-pixmap-graphics-port (p1 pane width height :relative t)
(with-graphics-rotation (p1 0.123)
(draw-rectangle p1 0 0 200 120 :filled t
:foreground :red)
(get-origin p1)))
-15 0