File canvas-draw/racket/picture.rkt artifact 1d85f63ef0 part of check-in 44f8109293


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

(provide
 context:picture)

;; }}}