ImageSurface.drawDecoratedWindow

void drawDecoratedWindow(Window win, int deltaX = 0, int deltaY = 0)

Draws a decorated window to the image surface.

This draws the window including its title bar and borders.

Parameters

winWindow to draw
deltaXX offset for drawing (default 0)
deltaYY offset for drawing (default 0)