P1 是控制点,P0、P2 是曲线的端点,因此曲线可以用下面的公式进行描述,这描述方式就是贝塞尔曲线
$ B(t) = (1-t)^2P_0 + 2t(1-t)P_1+t^2P_2,t\in[0,1] $
int GUI_TTF_CreateFont(GUI_FONT * pFont, GUI_TTF_CS * pCS)
int GUI_TTF_CreateFontAA(GUI_FONT * pFont, GUI_TTF_CS * pCS)
void GUI_TTF_DestroyCache(void)
void GUI_TTF_Done(void)
int GUI_TTF_GetFamilyName(GUI_FONT * pFont, char * pBuffer, int NumBytes)
int GUI_TTF_GetStyleName(GUI_FONT * pFont, char * pBuffer, int NumBytes)
void GUI_TTF_SetCacheSize(unsigned MaxFaces, unsigned MaxSizes, U32 MaxBytes)