Category Custom user interface, Object ProUIDrawingarea

Function ProUIDrawingareaPolygonDraw


Description
Draw a polygon in the drawing area.
Synopsis
#include <ProUIDrawingarea.h>
ProErrorProUIDrawingareaPolygonDraw(
char* dialog
/* (In)
The name of the dialog that contains the drawing area.
*/
char* component
/* (In)
The name of the drawing area component.
*/
int count
/* (In)
Number of vertices in the polygon.
*/
ProUIPoint* points
/* (In)
Array of points to form the vertices of the polygon.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: Drawing Area Operations
  2. User Interface: Dialogs: Drawing Area Operations