This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: DrScheme Winter 2005 Prabhakar Ragde Documentation for Kathi Fislers Fabric Teachpack Language level : Beginning Student. Teachpack : fabric-teachpack.scm The fabric teachpack provides the following images and functions. The color arguments should be symbols of color names (such as red or teal ). The list of known colors is huge and includes all the standard color names. Five different images are predefined, two clothing items ( tshirt , hat ) and three smaller logos ( worm , chili , flower ). Functions: ;; create-solid-fabric : color number number image ;; produces a solid color image with given width and height ( define ( create-solid-fabric colour width height ) ...) ;; add-print : image image image ;; overlays tiles of item image onto tofabric image ;; item image is repeated as often as necessary to fill tofabric space ;; fabric will show through transparent areas of clothing item (e.g. body of tshirt) ( define ( add-print item tofabric ) ...) ;; add-horiz-stripe : color number image...
View Full Document
This note was uploaded on 12/16/2011 for the course CS 135 taught by Professor Vasiga during the Fall '07 term at Waterloo.
- Fall '07