MPLAB® Harmony Graphics Suite
|
LIB_EXPORT laString laString_CreateFromCharBuffer( const char* chr, GFXU_FontAsset* fnt );
Parameters |
Description |
const char* chr |
pointer to a const char* buffer, can be NULL |
GFXU_FontAsset* fnt |
pointer to a font asset, can be NULL |
laString - created string object
Makes an internal copy of the input buffer for the string object. Caller is responsible for the allocated memory but does not need to preserve the input buffer to maintain the string buffer state.
Caller must also ensure that the font contains all the glyphs for the string or rendering may not be possible.
MPLAB® Harmony Graphics Suite
|