comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Shaded fills with POLYFILL on PostScript
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Shaded fills with POLYFILL on PostScript [message #3055] Tue, 08 November 1994 11:57 Go to next message
ryba is currently offline  ryba
Messages: 33
Registered: October 1992
Member
Hello all,

Does anyone have a technique to get the PostScript driver to do a shaded
fill pattern with POLYFILL? There's the mysterious FILL_PATTERN keyword,
but it seems to have no effect on the PostScript driver, which is strange
since patterned fills should be a piece o' cake in PS, and many drawing
programs provide standard fill patterns, including various percentages of
even fill (for example, I'd like a 30% fill of red on a polygon). A
bit of trial and error (mostly error) with the PATTERN keyword provided
similar output. Line filling works, but I'd like something snazzier.

Thanks....

--
Dr. Marty Ryba | Generation X:
MIT Lincoln Laboratory | Too young to be cynical,
ryba@ll.mit.edu | too old to be optimistic.
Of course nothing I say here is official policy, and Laboratory affiliation is
for identification purposes only, blah, blah, blah....
Re: Shaded fills with POLYFILL on PostScript [message #3135 is a reply to message #3055] Fri, 11 November 1994 02:09 Go to previous message
sjt is currently offline  sjt
Messages: 72
Registered: November 1993
Member
Marty Ryba (ryba@ll.mit.edu) wrote:
: Hello all,

: Does anyone have a technique to get the PostScript driver to do a shaded
: fill pattern with POLYFILL? There's the mysterious FILL_PATTERN keyword,
: but it seems to have no effect on the PostScript driver, which is strange
: since patterned fills should be a piece o' cake in PS, and many drawing
: programs provide standard fill patterns, including various percentages of
: even fill (for example, I'd like a 30% fill of red on a polygon). A
: bit of trial and error (mostly error) with the PATTERN keyword provided
: similar output. Line filling works, but I'd like something snazzier.

: Thanks....

: --
: Dr. Marty Ryba | Generation X:
: MIT Lincoln Laboratory | Too young to be cynical,
: ryba@ll.mit.edu | too old to be optimistic.
: Of course nothing I say here is official policy, and Laboratory affiliation is
: for identification purposes only, blah, blah, blah....

I would have thought the easy way would be to use a colour defined with
r = 255, g = 180, b = 180 (or thereabouts) and a solid fill.

--
+------------------------+---------------------------------- --+---------+
| James Tappin, | School of Physics & Space Research | O__ |
| sjt@xun8.sr.bham.ac.uk | University of Birmingham | -- \/` |
| "If all else fails--read the instructions!" | |
+----------------------------------------------------------- --+---------+
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Reading data with structures
Next Topic: Stereo viewing of IDL data on Sun?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:36:24 PDT 2025

Total time taken to generate the page: 0.00576 seconds