home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / x / 20239 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  723 b 

  1. Path: sparky!uunet!spool.mu.edu!hri.com!noc.near.net!gateway!miki!oj
  2. From: oj@miki.pictel.com (Oliver Jones)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: comp.graphics
  5. Summary: use regions.
  6. Keywords: FillRules, XfillRule, enclosed regions
  7. Message-ID: <1992Dec15.174853.2764@miki.pictel.com>
  8. Date: 15 Dec 92 17:48:53 GMT
  9. References: <1gilalINNi5v@uwm.edu>
  10. Organization: PictureTel Corporation
  11. Lines: 8
  12.  
  13. In article <1gilalINNi5v@uwm.edu> amit@point.cs.uwm.edu (Amit Srivastava) writes:
  14. >I need a fill    
  15. >routine written in X, that will provide me following capabilities:
  16. >
  17. >a) check if a (X,Y) point lies in an enclosed region
  18. >b) if it does, then fill the region
  19.  
  20. How about using XPolygonRegion, XPointInRegion, and XFillPolygon?
  21.