Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!uci-ics!ucla-cs!arman From: arman@oahu.cs.ucla.edu (Arman Bostani) Newsgroups: comp.windows.x Subject: XSetPlaneMask + XDrawImageString? Message-ID: <34046@shemp.CS.UCLA.EDU> Date: 10 Apr 90 01:37:00 GMT Sender: news@CS.UCLA.EDU Reply-To: arman@oahu.cs.ucla.edu (Arman Bostani) Organization: UCLA Computer Science Department Lines: 23 I am using the XSetPlaneMask library call and drawing a string using the XDrawImageString. The string given to XDrawImageString is drawn in all planes, regardless of the value of the mask given to XSetPlaneMask. That is, even if plane_mask is set to 0, the string is displayed to all planes. Calls to other library routines such as XDrawString work as expected. The O'Reilly manual states that XDrawImageString (like XDrawString) DOES pay attention to the plane_mask component of the GC. I'm running on a SparcStation 1 with X11R4 from MIT. When I tried this on a Sony Running X11R3, however, XSetPlaneMask does seem to work correctly with XDrawImageString. What gives? -arman PS: I'm posting this for a friend. -- Arman Bostani // UCLA Computer Science Department -- arman@CS.UCLA.EDU // ...!{uunet,rutgers,ucbvax}!cs.ucla.edu!arman