▼ |  | Images

1 | Icons
2 | Logos
3 | Embedding Bitmaps in Compiled Files
4 | Floating-Point Bitmaps

On this page:

plt-logo
planet-logo
stepper-logo
macro-stepper-logo

6.8
top ← prev up next →

### 2`` Logos

Neil Toronto <neil.toronto@gmail.com>

(require images/logos) | package: images-lib

> > procedure
> > (plt-logo | [ | #:height height |  |  |  |
> > |  | #:backing-scale backing-scale]) |  | → |  | (is-a?/c bitmap%)
> height : (and/c rational? (>=/c 0)) = 256
> | backing-scale |  | : |  | (and/c rational? (>/c 0.0))
> |  |  | = |  | (default-icon-backing-scale)

Returns the PLT logo, rendered in tinted glass and azure metal by the ray tracer that renders icons.

Example:

> > (plt-logo)

The default height is the size used for DrRacket splash screen.

> > procedure
> > (planet-logo | [ | #:height height |  |  |  |
> > |  | #:backing-scale backing-scale]) |  | → |  | (is-a?/c bitmap%)
> height : (and/c rational? (>=/c 0)) = 96
> | backing-scale |  | : |  | (and/c rational? (>/c 0.0))
> |  |  | = |  | (default-icon-backing-scale)

Returns an unofficial PLaneT logo. This is used as the PLaneT icon when DrRacket downloads PLaneT packages.

Examples:

> > (planet-logo)
> > (planet-logo #:height (default-icon-height))

> > procedure
> > (stepper-logo | [ | #:height height |
> > |  | #:backing-scale backing-scale]) |
> → (is-a?/c bitmap%)
> height : (and/c rational? (>=/c 0)) = 96
> | backing-scale |  | : |  | (and/c rational? (>/c 0.0))
> |  |  | = |  | (default-icon-backing-scale)

Returns the algebraic stepper logo.

Example:

> > (stepper-logo)

> > procedure
> > (macro-stepper-logo | [ | #:height height |
> > |  | #:backing-scale backing-scale]) |
> → (is-a?/c bitmap%)
> height : (and/c rational? (>=/c 0)) = 96
> | backing-scale |  | : |  | (and/c rational? (>/c 0.0))
> |  |  | = |  | (default-icon-backing-scale)

Returns the macro stepper logo.

Example:

> > (macro-stepper-logo)

top ← prev up next →