MCPcopy 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
323Size2 TextLine::get_size() const
324{
325 const_cast<TextLine*>(this)->_shape();
326 return TS->shaped_text_get_size(rid);
327}
328
329float TextLine::get_line_ascent() const
330{

Callers 5

do_in_backgroundMethod · 0.45
from_imageMethod · 0.45
get_string_sizeMethod · 0.45
layoutMethod · 0.45

Calls 1

_shapeMethod · 0.80

Tested by

no test coverage detected