9 Polygon API Function
SetPolyFillMode sets the method used by a device to fill polygonal areas and shapes. The two modes differ only over complex overlapping polygons, where the edges of the polygon criss-cross each other inside the interior (see the example for an example of a complex overlapping polygon). The function ...
Hits: 4623 Rating: (3.61) votes 908
PolyPolyline draws multiple sets of lines connecting points on a graphics-capable device. This function has a similar effect as using Polyline with various sets of points. Lines are drawn to connect the first point in a set to the second point, the second point to the third, etc. The first and last ...
Hits: 3280 Rating: (3.02) votes 569
PolyPolygon draws multiple polygons on a given device. The polygons are drawn using the device's current pen and are filled using the device's current brush. The various polygons are not connected. The vertices of every polygon are stored in an array passed as lpPoint. The array passed as lpPolyCoun...
Hits: 4657 Rating: (2.75) votes 972
PolylineTo draws a series of connected lines on a graphics-capable device. The points are given to the function inside an array passed as lppt. The function draws lines connecting the device's current point to the first point, the first point to the second point, the second point to the third point,...
Hits: 3484 Rating: (3.00) votes 1204
Polyline draws a series of lines on a graphics-capable device. These lines connect the points given in an array passed as lpPoint.
Lines are drawn connecting the first point to the second point, the second point to the third point, etc. The first and last points are not connected. The lines are dra...
Hits: 4030 Rating: (2.91) votes 1092
Polygon draws and fills a polygon on a device. The polygon is drawn using the current pen and is filled using the current brush. The vertices of the polygon are stored in an array passed as lpPoint, in sequential order. Only specify each point once. The function returns 1 if successful, or 0 if an e...
Hits: 4469 Rating: (2.83) votes 1251
GetPolyFillMode determines how a given device fills polygonal areas and shapes. These two modes only differ in how they handle complex overlapping polygons (i.e., polygons whose boundaries criss-cross themselves). The function returns 0 if an error occured, or exactly one of the following flags if s...
Hits: 3013 Rating: (3.06) votes 894
CreatePolyPolygonRgn creates a region consisting of multiple polygons. The vertices of all the polygons are passed to the function in the array passed as lpPoint. Another array specifies how many points within that array belong to each polygon. The individual polygons are not joined in any way, form...
Hits: 3345 Rating: (2.82) votes 673
CreatePolygonRgn creates a polygonal region and provides a handle to it. The polygon is defined by an array of points specifying its vertices. Note that the polygon fill mode must explictly be specified, instead of using the one set for whatever device the region is used with. The function returns t...
Hits: 6573 Rating: (2.68) votes 1607
Records 1 to 9 of 9