IFontProperties



Describes font properties which is just a container for the properties and has no callbacks and platform font.

You can find more information in comments below.

class IFontProperties
{
public:
    virtual String getFontName() = 0; // Return font name
    virtual int getHeight() = 0; // Return height
    virtual FONT_WEIGHT getWeight() = 0; // Return weight
    virtual float getDistance() = 0; // Return distance between characters
    virtual Color getColor() = 0; // Return color
    virtual PointF getShadowShift() = 0; // Return shadow shift
    virtual int getShadowRadius() = 0; // Return shadow blur radius
    virtual Color getShadowColor() = 0; // Return shadow color
    virtual bool isItalic() = 0; // Return whether it is italic
    virtual bool isUnderline() = 0; // Return whether it is underlined
    virtual bool isStrikeOut() = 0; // Return whether it is striked out
    virtual bool isEqual(IFontProperties *font) = 0; // Check if has the same properties as the specified font
    // Since 3.0.0
    virtual bool isMonospace() = 0; // Return whether font was created as monospace one

    virtual bool Copy(IFontProperties *src) = 0; // Copy properties from specified font
};
Namespace: nitisa
Include: Nitisa/Interfaces/IFont.h