Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SakuraEngine/SakuraEngine
/ get_size
Method
get_size
modules/gui/gui/src/backend/text_server/text_line.cpp:323–327 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
321
}
322
323
Size2 TextLine::get_size() const
324
{
325
const_cast<TextLine*>(this)->_shape();
326
return TS->shaped_text_get_size(rid);
327
}
328
329
float TextLine::get_line_ascent() const
330
{
Callers
5
do_in_background
Method · 0.45
from_image
Method · 0.45
get_string_size
Method · 0.45
get_multiline_string_size
Method · 0.45
layout
Method · 0.45
Calls
1
_shape
Method · 0.80
Tested by
no test coverage detected