DrawLine

Go Back

Summary:
  Draws a user-defined line segment in the viewer.

Header File:
  edis_grobj.h

Library Name:
  viewlib

void    DrawLine  (
    Edis_GrObjTarget*    target,
    Edis_GrObjContext*    context,
    int    X0,
    int    Y0 ,
    int    X1,
    int    Y1,
    Eerr_ErrorReport**    lclerr,
  )
context
    This is the Graphics Context.
lclerr
    Error handling structure pointer.
target
    The name(including path) of the target ehfa file.
X0
    The start X coordinate.
X1
    The end X coordinate.
Y0
    The start Y coordinate.
Y1
    Ending Y coordinate for the line.

Description:
  This function draws a line segment from x0, y0 to x1, y1.

Notes:
  None.

Return Description:
  This function has no return value.