GINO Graphics Suite - GINO v9.0  

gSetSegFontAttribs

Syntax

[C/C++:]
void gSetSegFontAttribs(int nseg, int nfont, GFNTFILSTY style, int fntrep, int fntspa, int fntwgt, int fntset);
[F90:]
subroutine gSetSegFontAttribs(nseg, nfont, style, fntrep, fntspa, fntwgt, fntset)

integer, intent(in) :: nseg
type (GFNTFILSTY),intent (in) :: style
integer, intent(in) :: nfont,fntrep,fntspa,fntwgt,fntset

Arguments

nseg
Picture segment number

nfont
Segment font number

style.type
Segment font style type

= GOUTLINE, Outline only
= GFILLED, Filled font using foreground and background fill and line styles
= GOUTFILL, Filled font and outline
> 2, Hardware dependent

style.ffill
Segment font foreground fill style

= GNOFILL, No foreground filling
= GSOLID, Solid fill
= 1 - 256, Fill style index (hardware fill) or hatch style index (software fill)
> 256, Fill style index (hardware fill) or solid fill (software fill)

style.fline
Segment font foreground line style

= GCURRENT, Current line style
= 1 - 256, Line style index
> 256, Current line style

style.bfill
Segment font background fill style

= GNOFILL, No background filling
= GSOLID, Solid fill
= 1 - 256 Fill style index (hardware fill) or hatch style index (software fill)
> 256, Fill style index (hardware fill) or solid fill (software fill)
style.bline
Segment font background line style

= GCURRENT, Current line style
= 1 - 256, Line style index
> 256, Current line style

fntrep
Segment software font representation

fntspa
Segment font spacing

fntwgt
Segment font weight

fntset
Segment font set

Description

The routine gSetSegFontAttribs() changes the current settings of the segment font attributes for segment nseg and then redraws that segment.

See Also

gSetSegFontAttribs Usage
gEnqSegFontAttribs
gSetFontFillStyle