Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ TextLayoutAcquire
Function
TextLayoutAcquire
engine/font/src/text_layout.cpp:46–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
void TextLayoutAcquire(HTextLayout layout)
47
{
48
assert(layout);
49
assert(layout->m_RefCount > 0);
50
++layout->m_RefCount;
51
}
52
53
void TextLayoutRelease(HTextLayout layout)
54
{
Callers
4
TEST_F
Function · 0.85
DrawText
Function · 0.85
TEST_F
Function · 0.85
SetNodeTextLayout
Function · 0.85
Calls
1
assert
Function · 0.50
Tested by
2
TEST_F
Function · 0.68
TEST_F
Function · 0.68