Article View: comp.sys.unisys
Article #273chess-flyer.ps (was Re: Boycott on Unisys still effective)
From: tim werner
Date: Tue, 24 Jan 1995 21:16
Date: Tue, 24 Jan 1995 21:16
83 lines
3924 bytes
3924 bytes
>Newsgroups: comp.sys.unisys,gnu.misc.discuss,alt.gif-agreement,alt.online-service.compuserve
>From: h9210876@hkuxa.hku.hk (Lee Sau Dan ~{@nJX6X~})
>Date: Fri, 20 Jan 1995 18:37:41 GMT
>
>Oh! I can't believe this!
>The XOR "algorithm" for drawing graphical cursors is so trivial to
>be patentable, IMHO.... How about the XOR method of dragging rubber-band
>boxes, circles, lines, etc. ?
I found the flyer. Here it is (chess-flyer.ps):
========================== 8< ============================================
%!
/inch { 72 mul } def
/Center { moveto dup stringwidth pop -2.0 div 0 rmoveto show } def
/Rook {
gsave newpath
10 10 moveto 70 10 lineto 65 10 5 0 90 arc 60 15 5 0 90 arc
60 60 lineto 70 60 10 180 90 arcn 70 90 lineto
58 90 lineto 58 80 lineto 46 80 lineto 46 90 lineto
34 90 lineto 34 80 lineto 22 80 lineto 22 90 lineto
10 90 lineto 10 70 lineto 10 60 10 90 0 arcn 20 20 lineto
20 15 5 90 180 arc 15 10 5 90 180 arc closepath
gsave 0 setgray fill grestore stroke
1 setgray
15 15 moveto 65 15 lineto 20 20 moveto 60 20 lineto
20 60 moveto 60 60 lineto 10 70 moveto 70 70 lineto stroke
grestore
} def
/PiercedRook {
1 setlinewidth Rook
% CHANGE LOCATION OF ARROW BY CHANGING THE TWO COORDINATES
% IN THE NEXT LINE
53 55 moveto
5 0 rlineto 0 10 rlineto 20 -20 rlineto 5 5 rlineto
-20 20 rlineto 10 0 rlineto 0 5 rlineto -20 0 rlineto
closepath gsave 0 setgray fill grestore
gsave clip {1 exch sub } settransfer Rook grestore stroke
} def
/Flyer {
90 rotate 0 -8.5 inch translate
0 -0.3 inch translate
/Times-Roman findfont 28 scalefont setfont
(Arrow drawn) 7 inch 6 inch 90 add Center
(on rook using) 7 inch 6 inch 60 add Center
(patented) 7 inch 6 inch 30 add Center
(\252exclusive or\272) 7 inch 6 inch Center
(League for Programming Freedom) 4.5 inch 1.5 inch moveto show
/Times-Roman findfont 34 scalefont setfont
(So enjoy your programming.) 5.5 inch 2.75 inch Center
5.5 inch 3.5 inch moveto
(This simple program is all it takes to get ) dup stringwidth pop
/Times-Bold findfont 34 scalefont setfont
(sued!) dup stringwidth pop
3 -1 roll add -2.0 div 0 rmoveto exch
/Times-Roman findfont 34 scalefont setfont show
/Times-Bold findfont 34 scalefont setfont show
/Courier findfont 20 scalefont setfont
(for \(x = 0; x < height; x++\)) 1.5 inch 4.5 inch 44 add moveto show
(for \(y = 0; y < width; y++\)) 1.75 inch 4.5 inch 22 add moveto show
(screen[x + xpos][y + ypos] ^= arrow[x][y];) 2 inch 4.5 inch moveto show
gsave 2.5 inch 5.7 inch translate
2.2 inch 100 div dup scale PiercedRook
grestore
} def
Flyer showpage
========================== 8< ============================================
cheers,
tw
--
Do not drink coffee in early A.M. It will keep you awake until noon.
Technical Details
Message-ID:
<WERNER.95Jan24161650@sparcserver.mc.ab.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!Belgium.EU.net!ub4b! EU.net!Germany.EU.net!howland.reston.ans.net!swrinde!pipex!uunet!news1.hh.ab.com!news1.hh.ab.com!wernerReferences:
<3fk65t$no5@tardis.Tymnet.COM> <D2pvqt.9qF@hkuxb.hku.hk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1056b0,bf0aced2f502dde0 X-Google-Attributes: gid1056b0,public X-Google-Thread: 10e24f,bf0aced2f502dde0 X-Google-Attributes: gid10e24f,public X-Google-Thread: 1025b4,bf0aced2f502dde0 X-Google-Attributes: gid1025b4,public X-Google-Thread: ff68d,bf0aced2f502dde0 X-Google-Attributes: gidff68d,public X-Google-ArrivalTime: 1995-01-24 19:21:52 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!Belgium.EU.net!ub4b! EU.net!Germany.EU.net!howland.reston.ans.net!swrinde!pipex!uunet!news1.hh.ab.com!news1.hh.ab.com!werner From: werner@sparcserver.mc.ab.com (tim werner) Newsgroups: comp.sys.unisys,gnu.misc.discuss,alt.gif-agreement,alt.online-service.compuserve Subject: chess-flyer.ps (was Re: Boycott on Unisys still effective) Date: 24 Jan 1995 21:16:49 GMT Organization: Allen-Bradley Company, Inc. Lines: 83 Distribution: world Message-ID: <WERNER.95Jan24161650@sparcserver.mc.ab.com> References: <3fk65t$no5@tardis.Tymnet.COM> <D2pvqt.9qF@hkuxb.hku.hk> NNTP-Posting-Host: sparcserver.mc.ab.com