diff --git a/quad/quad/quad.rkt b/quad/quad/quad.rkt index 78c5a4aa..d417dbe1 100644 --- a/quad/quad/quad.rkt +++ b/quad/quad/quad.rkt @@ -62,6 +62,10 @@ (define (quad-ref q key [default-val #f]) (hash-ref (quad-attrs q) key default-val)) +(define (quad-set! q key val) + (hash-set! (quad-attrs q) key val) + q) + (define (default-printable q [sig #f]) #t) (define (default-draw q surface)