link drawcard
June 23, 2000; Gregg M. Townsend
Requires: Version 9 graphics
This file is in the public domain.
drawcard(win, x, y, c) draws the playing card labeled <c> with its
upper left corner at (x,y). The card size is fixed at 80w x 124h.
Card labelings are those used in the examples in the "Mappings and
Labelings" chapter of the Icon book (pp 205-207, 2/e).
label: ABCDEFGHIJKLM NOPQRSTUVWXYZ abcdefghijklm nopqrstuvwxyz
rank: A23456789TJQK A23456789TJQK A23456789TJQK A23456789TJQK
suit: clubs........ diamonds..... hearts....... spades.......
If the label is unrecognized, the back of a card is drawn.
"-" is suggested as a conventional label for a card back.