Intranet Catprocess
  1. news...
  2. about Blackvoxel
  3. download
  4. manual
  5. videos
  6. about us
  1. Image_Polygon_Segment

    Description

    bool Image_Polygon_Segment(integer ImageNum, integer Sx, integer Sy, integer Ex, integer Ey)

    This function is part of a set of functions for drawing polygons.
    Image_Polygon_Start() will begin the description of a polygon. Then you should use Image_Polygon_Segment() several times to draw a closed polygon. To finish polygon description and render it, use Image_Polygon_Render(). Note these functions can only draw convex polygons.

    Parameters

    ImageNum : The number of the image. You can use a number from 0 to 63 (included).

    Sx,Sy :Coordinates of the starting point for the segment.

    Ex,Ey :Coordinates of the ending point for the segment.

    Return Value

    A boolean value. True if the operation succeeded. False is returned if the image doesn't exists or if the image number is  out of bound.

    Example of use

    To do.

    // Listing #1: Todo.
    To do

    See Also

    Image_Polygon_Start(), Image_Polygon_Render()

     
  2. Google+