void setFont(int size, float rotation, bool bold, bool italic, char* font)
Set the font to use for `setText` and `setTextV`.
This function is only for use when drawing on an OWNERDRAW using the startSetPixel and endSetPixel functions. To change the font associated with a control, use createFont and setCtlFont instead.
%ffp ctl[0]: OWNERDRAW, Color=RGB(0,0,0), Size=(100,100) OnFilterStart: { startSetPixel(0); setFont(17, 0, true, false, "Arial"); setText(5, 0, RGB(255,255,255), TA_LEFT | TA_TOP, "Player 1"); setText(145, 0, RGB(255,255,255), TA_RIGHT | TA_TOP, "Player 2"); endSetPixel(0); return false; }