home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!utcsri!newsflash.concordia.ca!sifon!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Subject: Re: Accessing dash_list members from XGCValues
- Message-ID: <1992Nov6.113450.22607@thunder.mcrcim.mcgill.edu>
- Organization: McGill Research Centre for Intelligent Machines
- References: <27586@castle.ed.ac.uk>
- Date: Fri, 6 Nov 92 11:34:50 GMT
- Lines: 20
-
- In article <27586@castle.ed.ac.uk>, kenny@castle.ed.ac.uk (K J MacDonald) writes:
-
- > I'm writing a few functions to help me output my Xlib drawings to
- > PostScript file. I've managed to implement most of the calls I use
- > so far, but I'm stuck on the dash_list problem.
-
- > I'm using an XGCValues structure to hold the graphics context,
-
- Then you will have trouble. An XGCValues structure cannot represent
- the full generality of dash lists set with XSetDashes. You'll have to
- either restrict yourself to dashes that can be represented with what
- XGCValues gives you or you'll have to keep extra data structures to
- remember the full dash info; once it's set with XSetDashes, nobody but
- the server (and possibly the code that called XSetDashes) has that
- information any longer.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-