- (call-with-canvas-in-mode [canvas canvas?] [mode symbol?] [proc (-> canvas? any)]) -> anyprocedure
Calls proc with the given canvas and ready to receive vertex data in the given mode. Returns whatever proc returns.
Possible modes are
- 'open-lines
- 'closed-lines
- 'fill
- 'clip
- 'bezier
- 'region
- 'path