返回文字的TrueType字体
virtual Mcad::ErrorStatus font(LPCTSTR& pTypeface, Mdesk::Boolean& bold, Mdesk::Boolean& italic, int& charset, int& pitchAndFamily) const;
参数 |
说明 |
LPCTSTR& pTypeface |
返回文字的TrueType字体名 |
Mdesk::Boolean& bold |
返回是否粗写 |
Mdesk::Boolean& italic |
返回是否倾斜 |
int& charset |
返回windows字符集 |
int& pitchAndFamily |
返回windows字符族 |
成功返回Mcad::eOk