On this page:
plt-logo
planet-logo
stepper-logo
macro-stepper-logo
6.5

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:

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)

image

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

image

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:

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: