DrawPolyLine

Go Back

Summary:
  Draws a user-defined polyline in the viewer.

Header File:
  edis_grobj.h

Library Name:
  viewlib

void    DrawPolyLine  (
    Edis_GrObjTarget*    target ,
    Edis_GrObjContext*    context,
    Edis_GrObjPoint*    points,
    int    npoints ,
    Eerr_ErrorReport**    lclerr,
  )
context
    This is the Graphics Context.
lclerr
    Error handling structure pointer.
npoints
    Number of points.
points
    Array of points to be used when drawing the polyline.
target
    The name(including path) of the target ehfa file.

Description:
  This function draws a polyline. The points array is an array of Edis_GrObjPoint structures.

This structure has the following form:

typedef long Edis_GrObjCoordType;
struct _edis_GrObjPoint {
Edis_GrObjCoordType x, y;
};

Notes:
  None.

Return Description:
  This function has no return value.