void ChangeFont(const CGXFont& p, GXModifyType mt);
p
Reference to the font object to be applied.
mt
gxExclude for resetting attributes.
Applies a new font on the current font.
Following operations are supported:
·Applying only new attributes (gxApplyNew): Only those attributes are copied from the source font to the destination font that are included in the source font and not yet included in the destination font.
·Overriding attributes (gxOverride): Attributes included in the source font are copied from the source font to the destination font whether or not they are included in the destination font.
·Copying the font (gxCopy): All attributes are copied from the source font to the destination font. Attributes that are not included in the source font will be removed from the destination font.
·Resetting attributes (gxExclude): Attributes that are included in the source font will be removed from the destination font.
CGXFont::IsSubSet CGXStyle::ChangeStyle
Class Overview | Class Members