GINO Graphics Suite - GINO v9.0  

gDrawMarker

Syntax

[C/C++:]
void gDrawMarker(int nsym);
[F90:]
subroutine gDrawMarker(nsym)
integer, intent(in) :: nsym

Arguments

nsym
Symbol number

= GDOT, Dot
= GUP, Upwards triangle
= GDOWN, Downwards triangle
= GPLUS, Plus sign
= GCROSS, Cross
= GBOX, Small square box
= GDIAMOND, Diamond
= GCIRCLE, Small circle
= GSTAR, Star or asterisk
9 - 23, Optional hardware symbol
> 23, Character from font table

Description

The routine gDrawMarker() draws either a dot, one of the eight standard symbols, a hardware symbol or any one of the characters from the GINO font tables.

Symbols are drawn independent of the current GINO font, but symbol numbers can be calculated using the following formulae:

FONT*1000 + <ACSII CODE>

The symbol number is shown in the bottom left corner of the character box in Appendix C.

All symbols are drawn centred at the current drawing position with the current position remaining at the same position after the symbol is drawn.

If untransformed characters are currently set then the appearance of symbols is controlled by the current character size only. If software transformed characters are set (using gSetCharTransformMode()) then the symbol is controlled by all the character attributes (size, angle and italic angle).

The whole of the symbol must fall within the window limits for it to be output.

See Also

gDrawMarker Usage
Font Tables
gSetCharTransformMode