Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - fg_filloutline http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                              fg_filloutline

   Usage
   #include <fg.h>
   void  far fg_filloutline(fg_color_t color, int mode, int  mask,  const
   fg_coord_t  far  *out_line,  fg_coord_t  far  *buffer,  unsigned   int
   point_pairs, int fill_side, fg_const_pbox_t clipbox),

   Description
   A more general version of fg_fillpolygon.
   Fill  the outline of points with a solid color. Y coordinates  between
   adjacent points must not differ by more than 1 pixel. The buffer  will
   contain  random  information upon return. The out_line has  pixels  of
   coordinate  pairs. The buffer must, in the worst case, be as large  as
   out_line  plus  an extra point pair for each local  minimum  and  each
   local  maximum in the Y direction. The end point must be equal to  the
   beginning point.
   fill_side  is one of FG_FILL_ON_RIGHT or FG_FILL_ON_LEFT. This is  the
   side that must be filled with the color color as the array out_line is
   traversed from small indices to large indices.


See Also: fg_getfillside fg_fillpolygon fg_linepixels fg_traverseline

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson