Date: Sat, 29 Oct 88 00:46:15 EDT To: NeWS-makers@brillig.umd.edu Subject: glass.c From: "Michael_Powers.Henr801M"@Xerox.COM Note: Here is a see through clock implementation which consists of two files (glass.c and glass.cps). Mike Powers powers.henr801m@xerox.com %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Glass Clock by Michael Powers (powers.henr801m@xerox.com) % Copyright (C) 1988 Xerox Corp. % % Back end disclaimer: % % This program is provided free for unrestricted use and % redistribution provided that this header is included. % No author (that be me), company (that be Xerox), or % distributor (that be me again) accepts % liability for any problems, lost revenues, or damages. % % glass.c % cc -o glass glass.c -I /usr/NeWS/include /usr/NeWS/lib/libcps.a % % notes: % Glass is an implementation of a NeWS clock that I wrote to % experiment with shaped canvases. The clock is shaped like the % the hands and tick marks thereby allowing you to "see through' % the face to whatever lies behind. Because of the bug concerning % stroking a canvas path the face must redraw every time it is % updated (gross). % One note on the use of glass. I would not suggest using the % -s option (second hand) since the updating chews up lots of time. % Perhaps a few more pauses would help here but I doubt it. % Enjoy! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%