2.8 Slides to Picts

► |  | Slideshow: Figure and Presentation Tools

1 | Creating Slide Presentations
2 | Making Slides
3 | Fullscreen vs. Widescreen Aspect Ratio
4 | Typesetting Racket Code in Slideshow
5 | Animations
6 | Legacy Libraries
| Bibliography
| Index

▼ | 2 | Making Slides

2.1 | Primary Slide Functions
2.2 | Slide Registration
2.3 | Viewer Control
2.4 | Constants and Layout Variables
2.5 | Configuration
2.6 | Pict-Staging Helper
2.7 | Text Formatting Helpers
2.8 | Slides to Picts

On this page:

get-slides-as-picts

top contents ← prev up next →

#### 2.8`` Slides to Picts🔗ℹ

(require slideshow/slides-to-picts) | package: slideshow-lib

> > procedure
> > (get-slides-as-picts |  | path |  |  |  |
> > |  | width |  |  |  |
> > |  | height |  |  |  |
> > |  | condense? |  |  |  |
> > | [ | stop-after |  |  |  |
> > |  | #:aspect aspect]) |  | → |  | (listof pict?)
> path : path-string?
> width : real?
> height : real?
> condense? : any/c
> stop-after : (or/c #f exact-nonnegative-integer?) = #f
> aspect : (or/c 'fullscreen 'widescreen) = inferred-aspect

Executes the Slideshow program indicated by path in a fresh namespace, and returns a list of picts for the slides. Each pict has the given width and height, and condense? determines whether the Slideshow program is executed in condense mode.

The aspect argument indicates which kinds of slides should full the width be height area, and slides in the other aspect are scaled to fit; the default for aspect is inferred from width and height. The aspect argument also sets the default aspect while loading path.

If stop-after is not #f, then the list is truncated after stop-after slides are converted to picts.

Changed in version 1.8 of package slideshow-lib: Added #:aspect.

top contents ← prev up next →