GINO Graphics Suite - GINO v9.0  

gDrawPolyline

Syntax

[C/C++:]
void gDrawPolylineBy2D(int npts, GPOINT *points2);
void gDrawPolylineBy3D(int npts, GPOINT3 *points3);
void gDrawPolylineTo2D(int npts, GPOINT *points2);
void gDrawPolylineTo3D(int npts, GPOINT3 *points3);
[F90:]
subroutine gDrawPolylineBy2D(npts, points2)
subroutine gDrawPolylineBy3D(npts, points3)
subroutine gDrawPolylineTo2D(npts, points2)
subroutine gDrawPolylineTo3D(npts, points3)

integer, intent(in) :: npts
type (GPOINT), intent(in) :: points2(*)
type (GPOINT3), intent(in) :: points3(*)

Arguments

npts
Number of lines to be drawn

points2,points3
Array holding relative or absolute coordinates specifying the end points of lines to be drawn with respect to the current axes and in the current units

Description

The gDrawPolyline set of routines draws a polyline in 2D or 3D using either relative or absolute coordinates. In the case of gDrawPolylineBy2D/3D(), the polyline starts at the current drawing position and is drawn through npts series of vector increments. In the case of gDrawPolylineTo2D/3D() the polyline starts at the current drawing position and draws straight lines to each of the npts points in points2 or points3.

The current drawing position is updated to be the end of the last vector drawn by these routines.

See Also

gDrawPolylinexx2D Usage
gDrawPolylinexx3D Usage