File canvas-draw/racket/wmf.rkt artifact 52ea848f8b part of check-in 8ca036fa3c
#lang racket/base (require ffi/unsafe "base.rkt") (define libcd (case (system-type 'os) [(windows) (ffi-lib "cd")] [else (ffi-lib "libcd")])) ;; {{{ Context types (define context:wmf ((get-ffi-obj "cdContextWMF" libcd (_fun -> [context : _context])))) (provide context:wmf) ;; }}}