Syntax
[C/C++:]
void gEnqSegCharAttribs(int nseg, GCHASTY *rep, int *swi, char *chaesc);
[F90:]
subroutine gEnqSegCharAttribs(nseg, rep, swi, chaesc)
integer, intent(in) :: nseg
type (GCHASTY), intent(out) :: rep
integer, intent(out) :: swi
character*1, intent(out) :: chaesc
Arguments
nseg
Picture segment number
rep.type
Segment character output type
|
= 1, |
Hardware (gSetHardChars(), gSetPointChars(), gSetMixedChars() or gSetHardCharSize()) |
|
= 2, |
Pseudo hardware (gSetHardChars(), gSetPointChars(), gSetMixedChars() or gSetHardCharSize()) |
|
= 3, |
Software untransformable (gSetSoftChars()) |
|
= 4, |
Software transformable (gSetCharTransformMode(GON)) |
rep.width
Segment character width in current units
rep.height
Segment character height in current units
rep.size
Segment hardware character size
|
= -2, |
Character size set using gSetCharSizePoint() or whilst gSetPointChars() is current |
|
= -1, |
Character size set using gSetCharSize() - (default) |
|
=  0, |
Character size set using gSetHardCharSize() and default size is current |
|
= >0, |
Character size set using gSetHardCharSize() |
rep.slant
Segment italic angle in degrees
rep.angle
Segment string angle in degrees
rep.points
Segment character height in points
swi
Segment character transformation mode
chaesc
Segment escape character setting
Description
The routine gEnqSegCharAttribs() returns the current settings of the segment character attributes for segment
nseg, as determined from the global settings when the segment was created, or as subsequently set by the routine gSetSegCharAttribs() for that segment.
See Also
gEnqSegCharAttribs UsagegEnqCharAttribsgSetCharTransformationModegSetEscapeChargSetSegCharAttribs