MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / hit_test

Method hit_test

modules/gui/gui/src/backend/text_server/text_line.cpp:493–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493int TextLine::hit_test(float p_coords) const
494{
495 const_cast<TextLine*>(this)->_shape();
496
497 return TS->shaped_text_hit_test_position(rid, p_coords);
498}
499
500TextLine::TextLine(const String& p_text, const Ref<Font>& p_font, int p_font_size, const String& p_language, TextServer::Direction p_direction, TextServer::Orientation p_orientation)
501{

Callers

nothing calls this directly

Calls 2

_shapeMethod · 0.80

Tested by

no test coverage detected