用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
375 B

5 months ago
#pragma once
namespace SOUI
{
class SOUI_EXP SDpiAwareFont
{
public:
SDpiAwareFont(void);
~SDpiAwareFont(void);
IFont * GetFontPtr();
void SetFontDesc(const SStringW & strDesc, int nScale);
void UpdateFont(int nScale);
protected:
IFont * OnGetFont(const SStringW & strDesc,int nScale);
SStringW m_strDesc;
SAutoRefPtr<IFont> m_object;
};
}