mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
Minor refactor in LineWrap.
This commit is contained in:
@@ -32,12 +32,22 @@ class EE_API LineWrap {
|
||||
Uint32 textHints = TextHints::None, bool tabStops = false,
|
||||
Float initialXOffset = 0.f );
|
||||
|
||||
static LineWrapInfo computeLineBreaks(
|
||||
const String::View& string, Font* font, Uint32 characterSize, Float maxWidth,
|
||||
LineWrapMode mode, Uint32 fontStyle, Float outlineThickness, bool keepIndentation,
|
||||
Uint32 tabWidth = 4, Float whiteSpaceWidth = 0.f /* 0 = should calculate it */,
|
||||
Uint32 textHints = TextHints::None, bool tabStops = false, Float initialXOffset = 0.f );
|
||||
|
||||
static LineWrapInfo computeLineBreaks( const String& string, const FontStyleConfig& fontStyle,
|
||||
Float maxWidth, LineWrapMode mode, bool keepIndentation,
|
||||
Uint32 tabWidth = 4, Float whiteSpaceWidth = 0.f,
|
||||
Uint32 textHints = TextHints::None,
|
||||
bool tabStops = false, Float initialXOffset = 0.f );
|
||||
|
||||
static Float computeOffsets( const String::View& string, Font* font, Uint32 characterSize,
|
||||
Uint32 fontStyle, Float outlineThickness, Uint32 tabWidth = 0.f,
|
||||
Float maxWidth = 0.f, bool tabStops = false );
|
||||
|
||||
static Float computeOffsets( const String::View& string, const FontStyleConfig& fontStyle,
|
||||
Uint32 tabWidth, Float maxWidth = 0.f, bool tabStops = false );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user