gfx:stop-pdf-capture

(gfx:stop-pdf-capture canvas)


Description:

Stop any pdf capture from canvas and close open file


Arguments:

         canvas -- canvas


Returns: boolean


Related: gfx:start-pdf-capture 


Examples:

(define canvas (gfx:make-canvas))

(define path (gfx:make-square 50 50 50))

(gfx:start-pdf-capture canvas "/tmp/test.pdf")

(gfx:draw-path (now) canvas path '(0 1 0 1) '(1 0 1 1))

(gfx:stop-pdf-capture canvas)



Back to index