14 Image Core

▼ |  | Mr Lib: Extra GUI Libraries

1 | Aligned Pasteboard
2 | Bitmap Label
3 | Cache-image Snip
4 | Close Icon
5 | GIF and Animated GIF Writing
6 | Graphs
7 | Hierarchical List Control
8 | Include Bitmap
9 | Interactive Value Port
10 | Name Message
11 | Path Dialog
12 | Plot
13 | Switchable Button
14 | Image Core
15 | Te X Table
16 | Acknowledgments
| Index

On this page:

render-image
image?

top← prev up next →

### 14`` Image Core

( require mrlib/image-core)

This library is the core part of the 2htdp/image library that DrRacket links into the namespace of all languages that it runs. This ensures that minimal support for these images are the same in all languages, specifically including support for printing the images and constructing the core data structures making up an image.

(render-image image dc dx dy) → void?
image : image?
dc : ( is-a?/c dc<%>)
dx : number?
dy : number?

Draws image in dc at the position (dx,dy).

(image? v) → boolean?
v : any/c

Recognizes the images that library handles.
top← prev up next →