FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kPoint32f * kGraphic_DrawPolygon32f ( kGraphic  graphic,
kGraphicPen  pen,
kGraphicBrush  brush,
const kPoint32f points,
kSize  count 
)

Draws a polygon.

The internal buffer returned by this function can be modifed.

Parameters
graphicGraphic object.
penPen to create strokes.
brushBrush to create fill.
pointsArray of polygon points (if null, will allocate a buffer without copying points).
countCount of points.
Returns
Returns pointer to buffer holding the new item(s).