Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Plotting Markers Message-ID: <8912291923.AA14605@expire.lcs.mit.edu> Date: 29 Dec 89 19:22:59 GMT References: <210@hal.CSS.GOV> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 15 I would like to find out if there is an Xlib command similar to the GKS command gpolymarker. No, there isn't. You can either use multiple points per marker, or explicitly draw an X or a hollow circle, or you a text symbol. I have thought of just placing the text symbol for the 'o' to the screen, but text characters are not centered about an x,y location, they are merely placed to the right of the specified starting location. Glyphs aren't centered on the x,y position you specify, but you can certainly find out the ink width and height of the glyph, and the baseline, and compute a relative x,y position to achieve centering.