13 Graphics Library as a Unit

▼ |  | Graphics: Legacy Library

1 | Basic Commands
2 | Position Operations
3 | Color Operations
4 | Draw, Clear, and Flip Operations
5 | World Operations
6 | Miscellaneous Operations
7 | An Example
8 | A More Complicated Example
9 | Protecting Graphics Operations
10 | Mouse Operations
11 | Keyboard Operations
12 | Flushing
13 | Graphics Library as a Unit

► | 13 | Graphics Library as a Unit

13.1 | Signatures
13.2 | Unit with posn
13.3 | Unit without posn

On this page:

13.1 Signatures
graphics^
graphics: posn^
13.2 Unit with posn
graphics@
13.3 Unit without posn
graphics-posn-less@

Racket
top contents ← prev up next →

## 13 Graphics Library as a Unit🔗ℹ

### 13.1 Signatures🔗ℹ

(require graphics/graphics-sig) | package: htdp-lib

> signature graphics^ : signature

Includes all of the bindings defined earlier in this chapter, except the posn bindings of Position Operations.

> signature graphics:posn^ : signature

Includes the posn bindings of Position Operations.

### 13.2 Unit with posn🔗ℹ

(require graphics/graphics-unit) | package: htdp-lib

> value graphics@ : unit?

Imports mred^ and exports both graphics^ and graphics:posn^.

### 13.3 Unit without posn🔗ℹ

(require graphics/graphics-posn-less-unit)
| package: htdp-lib

> value graphics-posn-less@ : unit?

Imports mred^ and graphics:posn^ and exports graphics^.
top contents ← prev up next →