GINO Graphics Suite - GINO v9.0  

gCopySeg

Syntax

[C/C++:]
void gCopySeg(int nseg, int pos);
[F90:]
subroutine gCopySeg(nseg, pos)
integer, intent(in) :: nseg,pos

Arguments

nseg
Picture segment or segment group number

> 0, Copy segment(s) specified by segment nseg
= -1, Copy all segments
< -1, Copy all segments except those specified by nseg

pos
Position of copy of segment

= GCURRENT, At the current pen position
= GANCHOR, At the position of nseg

Description

The routine gCopySeg() is used to make a copy of the specified segment into the current segment. The position occupied by the copy of the segment is indicated by position.

When the software emulation of picture segments is used and nseg does not exist an error message is generated. When using this routine in the default hardware segmentation mode, gSetSegMode(0), no error message is generated. However, the device may output a local error message.

Some displays do not permit this segment operation on the currently opened segment.

See Also

gCopySeg Usage
gSetSegMode