home *** CD-ROM | disk | FTP | other *** search
- unit truchet;
- interface
- uses
- PrintTraps, Quickdraw, Picker, Palettes, Globs, DlogStuff;
-
-
- procedure DoTruchet; {do graphic display of Truchet Tiles}
-
- implementation
-
- {===========================================================================}
- procedure DoATile (theBox: rect); {Draw a single tile}
- var
- k, f: integer;
- garbageBox: rect;
- halfBox: integer;
- thisOrThat: boolean; {which of the two tiles to do}
- begin
- halfBox := gdh^^.TileSize div 2;
-
- if gdh^^.randomness = 0 then {if ther