Changes between Version 1 and Version 2 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/ReadFont


Ignore:
Timestamp:
08/19/10 15:39:59 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/ReadFont

    v1 v2  
    11= ReadFont =
     2Reads a font file into memory.
     3
     4{{{
     5int ReadFont(int nFont, const char* pszFilename);
     6
     7int ReadFont(int nFont, const std::string& strFilename);
     8}}}
     9
     10== Parameters ==
     11
     12 * pszFilename - character array pointer to the path and filename of the font such as "/mnt/nand/fonts/Font788_8x2.fnt"
     13 * strFilename - const string reference to the path and filename of the font.
     14
     15== Return Value ==
     16
     17 * Returns 1 if successful 0 if file not found or some other problem with the file.
     18
     19== Remarks ==
     20
     21
     22== Examples ==
     23
     24{{{
     25ReadFont(11, "/mnt/nand/fonts/Font788_8x2.fnt");
     26}}}
     27
     28{{{
     29string strFontFile = "/mnt/nand/fonts/Font788_8x2.fnt";
     30ReadFont(11, strFontFile);
     31}}}
     32
     33== See Also ==
     34
     35 * LocateLCD
     36 * DisplayText