home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / x / 18799 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.2 KB  |  30 lines

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