MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / RenderText

Method RenderText

rEFIt_UEFI/libeg/text.cpp:253–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253INTN XTheme::RenderText(IN const XString8& Text, OUT XImage* CompImage_ptr,
254 IN INTN PosX, IN INTN PosY, IN UINTN Cursor, INTN textType, float textScale)
255{
256 const XStringW& UTF16Text = XStringW().takeValueFrom(Text.c_str());
257 return RenderText(UTF16Text, CompImage_ptr, PosX, PosY, Cursor, textType, textScale);
258}
259
260INTN XTheme::RenderText(IN const XStringW& Text, OUT XImage* CompImage_ptr,
261 IN INTN PosX, IN INTN PosY, IN UINTN Cursor, INTN textType, float textScale)

Callers 2

DrawTextXYMethod · 0.80
DrawMenuTextMethod · 0.80

Calls 8

renderSVGtextFunction · 0.85
GetWidthMethod · 0.80
ComposeMethod · 0.80
XStringWClass · 0.50
StrLenFunction · 0.50
c_strMethod · 0.45
wc_strMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected