Artifact 75e477e6d1a4d8d6ff583937a5c8299477f03937:
- File canvas-draw/racket/pdf.rkt — part of check-in [ed10f826ff] at 2011-01-30 17:39:09 on branch trunk — Re-ran configure in ffcall and imported canvas-draw source (user: matt, size: 325) [annotate] [blame] [check-ins using]
#lang racket/base (require ffi/unsafe "base.rkt") (define libcd-pdf (case (system-type 'os) [(windows) (ffi-lib "cdpdf")] [else (ffi-lib "libcdpdf")])) ;; {{{ Context types (define context:pdf ((get-ffi-obj "cdContextPDF" libcd-pdf (_fun -> [context : _context])))) (provide context:pdf) ;; }}}