Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!fluke!ssc-vax!dmg
From: dmg@ssc-vax.UUCP (David Geary)
Newsgroups: comp.lang.c
Subject: Need help with simple graphics on Suns
Keywords: keystroke, keynote, keyboard
Message-ID: <2244@ssc-vax.UUCP>
Date: 22 Sep 88 18:00:09 GMT
Organization: Boeing Aerospace Corp., Seattle WA
Lines: 29



    I am in search of a way to do some basic rasterop functions
inside of a SunWindow under Suntools.  I've skimmed through the
Sun docs (no RTFM, please), and I don't want to use panels, the
notifier, and all that fancy stuff.  All I want is to be able
to do the following in a Sun Window under Suntools:

1)  Draw lines.
2)  Invert rectangular regions on the screen.
3)  Draw graphic text in the window.

    I have developed a set of routines that do "panels" on
a Unix-based machine that only had a very rudimentary set
of *higher* level graphics functions such as those above,
and now I want to port it to the Suns.

    Ideally, I'd prefer someone send me some simple code
that shows how to do any of the above.  I promise to be eternally
gratefull if anyone would send me some code.  If you have
no code, then any info would help. 

Thanx,

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ David Geary, Boeing Aerospace,               ~ 
~ #define    Seattle     RAIN                  ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~