SYNOPSIS

#include <Unidraw/Commands/font.h>

DESCRIPTION

FontCmd is a purely interpretive command for setting the font attribute of selected components.

PUBLIC OPERATIONS

FontCmd(ControlInfo*, PSFont* = nil)

FontCmd(Editor* = nil, PSFont* = nil)

Create a FontCmd, optionally specifying the PSFont that components should adopt.

virtual void Execute()

FontCmd extends Execute to set the value of the affected editor's FontVar instance, if it defines one.

PSFont* GetFont()

Return the PSFont supplied in the constructor.

RELATED TO FontCmd…

Command(3U), pspaint(3U), statevars(3U)