fabric-teachpack-doc

fabric-teachpack-doc - DrScheme Winter 2005 Prabhakar Ragde...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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.

Page1 / 3

fabric-teachpack-doc - DrScheme Winter 2005 Prabhakar Ragde...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online