MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / IsBreakAllowed

Function IsBreakAllowed

Source/engine/render/text_render.cpp:283–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283bool IsBreakAllowed(char32_t codepoint, char32_t nextCodepoint)
284{
285 return IsFullWidthPunct(codepoint) && !IsFullWidthPunct(nextCodepoint);
286}
287
288std::size_t CountNewlines(string_view fmt, const DrawStringFormatArg *args, std::size_t argsLen)
289{

Callers 1

WordWrapStringFunction · 0.85

Calls 1

IsFullWidthPunctFunction · 0.85

Tested by

no test coverage detected