MCPcopy Create free account
hub / github.com/arrayfire/forge / fg_retain_font

Function fg_retain_font

src/api/c/font.cpp:29–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29fg_err fg_retain_font(fg_font* pOut, fg_font pIn)
30{
31 try {
32 common::Font* temp = new common::Font(getFont(pIn));
33 *pOut = getHandle(temp);
34 }
35 CATCHALL
36
37 return FG_ERR_NONE;
38}
39
40fg_err fg_release_font(fg_font pFont)
41{

Callers 1

FontMethod · 0.85

Calls 2

getFontFunction · 0.85
getHandleFunction · 0.85

Tested by

no test coverage detected