File canvas-draw/racket/ps.rkt artifact fc8e786542 part of check-in 6ea974f487


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

(provide
 context:ps)

;; }}}