CommonLibSSE NG
Loading...
Searching...
No Matches
RE::GFxWWHelper Class Reference

#include <GFxWWHelper.h>

Classes

struct  CharBreakInfo
 

Public Types

enum class  BreakInfoFlags { kNone = 0 , kNonStartingChar = 1 << 0 , kNonTerminatingChar = 1 << 1 , kAll = kNonStartingChar | kNonTerminatingChar }
 
enum class  WordWrappingType { kNone = 0 }
 

Static Public Member Functions

static bool FindCharWithFlags (WordWrappingType a_wwMode, wchar_t a_ch, BreakInfoFlags a_charBreakFlags)
 
static bool IsAsianChar (WordWrappingType a_wwMode, wchar_t a_ch)
 
static bool IsNonStartingChar (WordWrappingType a_wwMode, wchar_t a_ch)
 
static bool IsNonTerminatingChar (WordWrappingType a_wwMode, wchar_t a_ch)
 
static bool IsWhiteSpaceChar (wchar_t a_ch)
 
static bool IsLineFeedChar (wchar_t a_ch)
 
static bool IsLineBreakOpportunityAt (WordWrappingType a_wwMode, const wchar_t *a_wstr, UPInt a_index)
 
static bool IsLineBreakOpportunityAt (WordWrappingType a_wwMode, wchar_t a_prevChar, wchar_t a_curChar)
 
static UPInt FindNextNonWhiteSpace (const wchar_t *a_wstr, UPInt a_pos, UPInt a_maxPos)
 
static UPInt FindPrevNonWhiteSpace (const wchar_t *a_wstr, UPInt a_pos)
 
static bool IsVowel (wchar_t a_ch)
 
static UPInt FindWordWrapPos (WordWrappingType a_wwMode, UPInt a_wordWrapPos, const wchar_t *a_paraText, UPInt a_paraLen, UPInt a_lineStartPos, UPInt a_lineLen)
 

Static Public Attributes

static CharBreakInfo charBreakInfoArray []
 

Member Enumeration Documentation

◆ BreakInfoFlags

Enumerator
kNone 
kNonStartingChar 
kNonTerminatingChar 
kAll 

◆ WordWrappingType

Enumerator
kNone 

Member Function Documentation

◆ FindCharWithFlags()

static bool RE::GFxWWHelper::FindCharWithFlags ( WordWrappingType  a_wwMode,
wchar_t  a_ch,
BreakInfoFlags  a_charBreakFlags 
)
static

◆ FindNextNonWhiteSpace()

static UPInt RE::GFxWWHelper::FindNextNonWhiteSpace ( const wchar_t *  a_wstr,
UPInt  a_pos,
UPInt  a_maxPos 
)
static

◆ FindPrevNonWhiteSpace()

static UPInt RE::GFxWWHelper::FindPrevNonWhiteSpace ( const wchar_t *  a_wstr,
UPInt  a_pos 
)
static

◆ FindWordWrapPos()

static UPInt RE::GFxWWHelper::FindWordWrapPos ( WordWrappingType  a_wwMode,
UPInt  a_wordWrapPos,
const wchar_t *  a_paraText,
UPInt  a_paraLen,
UPInt  a_lineStartPos,
UPInt  a_lineLen 
)
static

◆ IsAsianChar()

static bool RE::GFxWWHelper::IsAsianChar ( WordWrappingType  a_wwMode,
wchar_t  a_ch 
)
static

◆ IsLineBreakOpportunityAt() [1/2]

static bool RE::GFxWWHelper::IsLineBreakOpportunityAt ( WordWrappingType  a_wwMode,
const wchar_t *  a_wstr,
UPInt  a_index 
)
static

◆ IsLineBreakOpportunityAt() [2/2]

static bool RE::GFxWWHelper::IsLineBreakOpportunityAt ( WordWrappingType  a_wwMode,
wchar_t  a_prevChar,
wchar_t  a_curChar 
)
static

◆ IsLineFeedChar()

static bool RE::GFxWWHelper::IsLineFeedChar ( wchar_t  a_ch)
static

◆ IsNonStartingChar()

static bool RE::GFxWWHelper::IsNonStartingChar ( WordWrappingType  a_wwMode,
wchar_t  a_ch 
)
static

◆ IsNonTerminatingChar()

static bool RE::GFxWWHelper::IsNonTerminatingChar ( WordWrappingType  a_wwMode,
wchar_t  a_ch 
)
static

◆ IsVowel()

static bool RE::GFxWWHelper::IsVowel ( wchar_t  a_ch)
static

◆ IsWhiteSpaceChar()

static bool RE::GFxWWHelper::IsWhiteSpaceChar ( wchar_t  a_ch)
static

Member Data Documentation

◆ charBreakInfoArray

CharBreakInfo RE::GFxWWHelper::charBreakInfoArray[]
inlinestatic

The documentation for this class was generated from the following file: