Show / Hide Table of Contents

    Method gfont

    | Improve this Doc View Source

    gfont(out FontFamily, out FontStyle, out FontWeight)

    plgfont: Get family, style and weight of the current font

    Declaration
    public void gfont(out FontFamily p_family, out FontStyle p_style, out FontWeight p_weight)
    Parameters
    Type Name Description
    FontFamily p_family

    Returned value of the current font family. The available values are given by the PL_FCI_* constants in plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If p_family is NULL then the font family is not returned.

    FontStyle p_style

    Returned value of the current font style. The available values are given by the PL_FCI_* constants in plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font style is not returned.

    FontWeight p_weight

    Returned value of the current font weight. The available values are given by the PL_FCI_* constants in plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. If p_weight is NULL then the font weight is not returned.

    Remarks

    Gets information about current font. See for more information on font selection.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX