This class encapsulates four fonts of different fontStyle for the given Font.
Public Member Functions |
|
CachedFont (Font defaultFont) | |
Font | GetFont (bool bold, bool italic) |
Get the font according to the given font
style. |
|
override int | GetHashCode () |
Get the hash code of this object. |
|
override bool | Equals (object other) |
Whether this object is equal to the given
object. |
MaxCustomControls::SceneExplorerControls::CachedFont::CachedFont | ( | Font | defaultFont | ) | [inline] |
Font MaxCustomControls::SceneExplorerControls::CachedFont::GetFont | ( | bool | bold, |
bool | italic | ||
) | [inline] |
Get the font according to the given font style.
bold | Is the font bold? |
italic | Is the font italic? |
override int MaxCustomControls::SceneExplorerControls::CachedFont::GetHashCode | ( | ) | [inline] |
Get the hash code of this object.
override bool MaxCustomControls::SceneExplorerControls::CachedFont::Equals | ( | object | other | ) | [inline] |
Whether this object is equal to the given object.
other | The given object |