<-Back

Macro: With-Format

WITH-FORMAT void [macro]

Used to establish an output format and a stream to which data is to be sent. This supports a full range of output options such as page dimensions, view transforms, view scales, etc.

example:
 (gdl::with-format (pdf "/tmp/box.pdf" :view-transform (getf *standard-views* :trimetric)) 
    (write-the-object (make-instance 'box :length 100 :width 100 :height 100) cad-output))

<-Back