Jamba C++ API
5.1.1
|
The context which contains the details on how the string should be drawn. More...
#include <DrawContext.h>
Public Types | |
enum | Style : int32_t { kShadowText = 1 << 2, kNoTextStyle = 1 << 11 } |
Public Member Functions | |
void | addStyle (Style iStyle) |
constexpr bool | hasStyle (Style iStyle) const |
void | setStyle (Style iStyle) |
Public Attributes | |
bool | fAntialias {true} |
FontPtr | fFont {nullptr} |
CColor | fFontColor {kWhiteCColor} |
CHoriTxtAlign | fHorizTxtAlign {kCenterText} |
CColor | fShadowColor {kBlackCColor} |
CPoint | fShadowTextOffset {1., 1.} |
int32_t | fStyle {0} |
Should be a value provided by StringDrawContext::Style More... | |
CPoint | fTextInset {0, 0} |
The context which contains the details on how the string should be drawn.
|
strong |
|
inline |
|
inline |
|
inline |
bool fAntialias {true} |
FontPtr fFont {nullptr} |
CColor fFontColor {kWhiteCColor} |
CHoriTxtAlign fHorizTxtAlign {kCenterText} |
CColor fShadowColor {kBlackCColor} |
CPoint fShadowTextOffset {1., 1.} |
int32_t fStyle {0} |
Should be a value provided by StringDrawContext::Style
CPoint fTextInset {0, 0} |