integer, intent(in) :: nseg type (GPICATT), intent(out) :: att
Arguments
nseg
Picture segment number
att.exist
Flag indicating existence of segment
= 0,
Segment nseg does not exist
= 1,
Segment nseg exists
= 2,
Segment nseg exists as a group
att.vis
Visibility status
= GOFF,
invisible (not displayed)
= GON,
visible (displayed)
att.sens
Sensitivity status
= GOFF,
Non hit-sensitive
= GON,
Hit-sensitive
att.mark
'Marked' status
= GUNMARK,
Not marked
= GMARK,
Marked
att.anchor
Picture anchor point (GPOINT3 structure)
Description
The routine gEnqSegAttribs() returns the segment attributes of segment nseg in the structure att.
Where possible this information is obtained from the display file held in the device. If the software display file has been activated using gSetSegMode(), any information not obtainable from the hardware will be supplemented from information held in the software display file. If no display file is being used or the segment doesn't exist all arguments are returned as zero.
Where nseg has been defined as a group with gDefineSegGroup(), att.exist is returned as 2 and all other arguments are returned as zero.