home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!scifi!acheron!philabs!linus!linus.mitre.org!tucker
- From: tucker@maestro.mitre.org (William Tucker)
- Subject: Prob. displaying PIXMAPS on SUNS
- Message-ID: <1993Jan27.191942.6389@linus.mitre.org>
- Keywords: Prob. displaying PIXMAPS on SUNS
- Sender: tucker@mitre.org (William Tucker)
- Nntp-Posting-Host: shawm.mitre.org
- Organization: The MITRE Corporation, McLean, VA, USA
- Date: Wed, 27 Jan 1993 19:19:42 GMT
- Lines: 52
-
-
- Hi -
-
- General Problem:
- We're having trouble displaying our pixmaps on Sun platforms.
-
- Hardware:
- We are using Sun 470's with Sony monitors and Sun Sparcstation 1+'s
- as well as Apollo 400 series workstations.
-
- What we're doing:
- An image of a map is composed in a composition pixmap of depth 8.
- It is created from multiple bitmaps that are copied into the pixmap
- using XCopyPlane with the GC set to use that bitmap as the clipmask.
- This effectively gets rid of the background, and only those bits that
- actually make up the drawn image (in this case map data) get copied
- into the composition pixmap. The bitmaps are all cleared with a fill
- rectangle upon creation and only drawn to once. The composition
- pixmap is cleared after each usage by having the contents of another
- pixmap copied to it, without using a clipmask.
-
-
- The Problem Specifically:
- That all works fine, the problem comes when we do a CopyArea from the
- pixmap to the window. Some of the text and lines that the map image
- consist of are missing pixels. For example the upper arc on an "a"
- would be missing a few pixels, the upright line part of a "D" will
- be missing a couple of pixels, the same characters are not consist-
- ently drawn wrong either. The map boundary lines appear broken too.
- The problem is not related to curved lines only, or to sloping lines.
- This problem does not occur when the stuff is drawn to the window
- without going to the composition pixmap first. The problem does not
- occur on the Apollo either.
-
-
- MY QUESTION:
- Is this a Sun X-Window implementation (rendering) problem. Am
- I doing something wrong with the bitmaps/pixmap thing or am I
- simply hallucinating, and in need of a week in Jamiaca?
-
-
- Please HELP ME!
-
-
- or send money.
-
-
- Wm T.
-
- tucker@maestro.mitre.org
-
- .standard disclaimer
-