GINO Graphics Suite - GINO v9.0  

gSetCharSize

Syntax

[C/C++:]
void gSetCharSize(float width, float height);
[F90:]
subroutine gSetCharSize(width, height)
real, intent(in) :: width,height

Arguments

width
Character width in current units

height
Character height in current units

Description

The routine gSetCharSize() sets the width and height of subsequent characters in current units, where the character width specifies the distance between the start of one character and the next and the character height specifies the height of upper-case characters. This routine should only be called when using software characters or printer-specific characters, otherwise the routine gSetCharSizePoint() should be used.  The effect a call to this routine has when characters are output, depends on the character mode at that time:

(a) gSetHardChars()

Characters are correctly spaced, but their size may be different.

(b) gSetPointChars()

Characters are output to the nearest point size based on the specified height.

(c) gSetMixedChars()

Character size may differ by up to 10% from the requested size.

(d) gSetSoftChars()

Characters are output exactly as requested.

(e) gSetCharTransformMode(GON)

Characters are transformed so size is modified by current scale factor.

If width, or height are less than or equal to zero, the current character size is reset to the default character size and a warning message is output.

See Also

gSetCharSize Usage
gSetCharSizePoint
gSetCharTransformMode
gSetHardChars
gSetMixedChars
gSetSoftChars