wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/CFormAdvanceX

Version 1 (modified by Don Wilson, 4 weeks ago) ( diff )

--

CFormAdvanceX 825gen2

Class for specifying a X coordinate advance value for CFormRect

Constructors

CFormAdvanceX(void);

Example

CFormAdvanceX advX;

Member Functions

SetBasedOnFont

Sets advance amount based on a font height

void SetBasedOnFontStrWidth(CFont& font, const char* str, double multiplier, int addPixels = 0);

Parameters

  • font - CFont reference
  • str - character array string
  • multiplier - multiplier value for height to set the advance amount

Return Value

Function does not return a value.

Note: See TracWiki for help on using the wiki.