On this page:
envelope
grid
kool-aid
arc
8.12

3 Extra pict constructors🔗ℹ

procedure

(envelope width    
  height    
  [#:border-width border-width    
  #:color color    
  #:border-color border-color    
  #:seal-color seal-color])  pict?
  width : real?
  height : real?
  border-width : real? = 1
  color : string? = "beige"
  border-color : string? = "medium goldenrod"
  seal-color : string? = "red"
Produces a pict of an envelope. The envelope is drawn with the given dimensions and colors.

Examples:
> (envelope 150 50)

image

> (envelope 150 50 #:seal-color "blue")

image

procedure

(grid width height step [line-width])  pict?

  width : real?
  height : real?
  step : real?
  line-width : real? = 1
Produces a pict of a grid with the given dimensions.

Example:
> (grid 300 300 50)

image

procedure

(kool-aid)  pict?

Produces a drawing of a refreshing drink.

Example:
> (kool-aid)

image

procedure

(arc width height start-radians end-radians)  pict?

  width : real?
  height : real?
  start-radians : real?
  end-radians : real?
Produces a pict of an arc with the given dimensions. The arguments are the same as for the draw-arc method.