mirror of
https://github.com/ocornut/imgui.git
synced 2026-05-29 04:46:11 +08:00
(Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale as this will be needed.
This commit is contained in:
+1
-1
@@ -4795,7 +4795,7 @@ bool ImFont::IsGlyphInFont(ImWchar c)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is manually inlined in CalcTextSizeA() and CalcWordWrapPositionA(), with a non-inline call to BuildLoadGlyphGetAdvanceOrFallback().
|
// This is manually inlined in CalcTextSizeA() and CalcWordWrapPosition(), with a non-inline call to BuildLoadGlyphGetAdvanceOrFallback().
|
||||||
IM_MSVC_RUNTIME_CHECKS_OFF
|
IM_MSVC_RUNTIME_CHECKS_OFF
|
||||||
float ImFont::GetCharAdvance(ImWchar c)
|
float ImFont::GetCharAdvance(ImWchar c)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user