🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #25235

query: X analog to suntools memory pixrect pr_rop?

#25235
From: Jeff Mc Carrell
Date: Mon, 23 Mar 1987 00:33
28 lines
1979 bytes
    My reading of the version 10 Xlib documentation leads me to believe
that there is no X analog to suntools pr_rop on memory pixrects.  For
those of you unfamiliar with suntools, what I want to be able to do is
to do lots of raster operations in my code to a destination that is not
an X window, and use X to display the results in one fell swoop.  I
understand that X is not a window system, with the implication that
anything I want to do in my code is my problem, but it seems to me that
something as generic as raster operations on bitmaps must have been
done before.

    It may be possible to handle this by doing window operations (which
include raster ops) on transparent windows, but one source claims that
this will not work as X will not actually perform the raster ops unless
the window is displayed (mapped) and unobscured by some other window.
The language of the v. 10 Xlib documentation seems to confirm this
hypothesis, though I haven't written any code to test it out.

    So the questions are: do I need to write bitmap raster operations
myself?  Has someone else done a reasonable implementation?  Another
source suggested that version 11 will fill in some of the holes of
version 10.  Where can one get ahold of the version 11 protocol
standard to find out?

					thanks,
						Jeff McCarrell
						jwm@renoir.Berkeley.EDU
						...!ucbvax!jwm
Technical Details
Message-ID: <8703230033.AA21179@renoir.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!RENOIR.BERKELEY.EDU!jwm

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!RENOIR.BERKELEY.EDU!jwm
From: jwm@RENOIR.BERKELEY.EDU (Jeff Mc Carrell)
Newsgroups: comp.windows.x
Subject: query: X analog to suntools memory pixrect pr_rop?
Message-ID: <8703230033.AA21179@renoir.Berkeley.EDU>
Date: Sun, 22-Mar-87 19:33:12 EST
Article-I.D.: renoir.8703230033.AA21179
Posted: Sun Mar 22 19:33:12 1987
Date-Received: Tue, 24-Mar-87 01:38:19 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 28