File canvas-draw/racket/dxf.rkt artifact 6c38a90ce7 part of check-in b89c5d2520


#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:dxf
  ((get-ffi-obj "cdContextDXF" libcd (_fun -> [context : _context]))))

(provide
 context:dxf)

;; }}}