MPLAB® Harmony Graphics Suite
|
LIB_EXPORT laString laString_CreateFromBuffer( const GFXU_CHAR* chr, GFXU_FontAsset* fnt );
Parameters |
Description |
const GFXU_CHAR* chr |
pointer to a GFXU_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
|