>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  POLYFILLTR
Libraries

POLYFILLTR

POLYFILLTR

Name


      POLYFILLTR

Purpose


      Polyfill on current image with a transparent color.

Category


Calling Sequence


      polyfilltr, x, y, pen

Inputs


      x,y = polygon vertices. in
      pen = optional pen code (0=pen up, 1=pen down).
        Pen code needed if x,y contain multiple polygons.

Keyword Parameters


Keywords


        /DEVICE Polygon is in device coordinates (def).
        /DATA Polygon is in data coordinates.
        /NORMAL Polygon is in normalized coordinates.
        COLOR=clr Polygon color (24-bit).
        WT=wt Weight (def=1=full color, 0=no color).
        SMOOTH=sm Smoothing size for softing edges (def=none).
        /ILLUMINATE Means illuminate polygon area instead of
          treating as a colored filter.
        /INVERSE uses the outsides of the polygons.
        FILL=fclr Solid fill color (def=none).
        OCOLOR=oclr Polygon outline color (def=none).
        THICK=thk Polygon outline thickness (def=!p.thick).

Outputs


Common Blocks


Notes


      Notes: Transparent polygon done first, then any solid fill,
        then any outline. Could do a smoothed transparent fill
        with a solid fill and an outline to make a glow around
        the polygon. Extra keywords may be sent to polyfillp.

Modification History


      R. Sterner, 2004 Oct 08
      R. Sterner, 2004 Oct 14 --- Added /ILLUMINATE option.
      R. Sterner, 2004 Oct 14 --- Added /INVERSE, outline and fill.
      R. Sterner, 2004 Oct 25 --- Added _extra=extra to allow noclip=0.
  Copyright (C) 2004, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us