1PLGFONT(3plplot) PLplot API PLGFONT(3plplot)
2
3
4
6 plgfont - Get family, style and weight of the current font
7
9 plgfont(p_family, p_style, p_weight)
10
12 Gets information about current font. See the PLplot documentation for
13 more information on font selection.
14
15 Redacted form: plgfont(p_family, p_style, p_weight)
16
17 This function is used in example 23.
18
20 p_family (PLINT_NC_SCALAR(3plplot), output)
21 Returned value of the current font family. The available values
22 are given by the PL_FCI_* constants in plplot.h. Current options
23 are PL_FCI_SANS, PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and
24 PL_FCI_SYMBOL. If p_family is NULL then the font family is not
25 returned.
26
27 p_style (PLINT_NC_SCALAR(3plplot), output)
28 Returned value of the current font style. The available values
29 are given by the PL_FCI_* constants in plplot.h. Current
30 options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and PL_FCI_OBLIQUE. If
31 p_style is NULL then the font style is not returned.
32
33 p_weight (PLINT_NC_SCALAR(3plplot), output)
34 Returned value of the current font weight. The available values
35 are given by the PL_FCI_* constants in plplot.h. Current
36 options are PL_FCI_MEDIUM and PL_FCI_BOLD. If p_weight is NULL
37 then the font weight is not returned.
38
39
41 Many developers (who are credited at http://plplot.org/credits.php)
42 have contributed to PLplot over its long history.
43
45 PLplot documentation at http://plplot.org/documentation.php.
46
47
48
49 August, 2019 PLGFONT(3plplot)