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.
23 lines
425 B
23 lines
425 B
#pragma once
|
|
namespace SOUI
|
|
{
|
|
class SOUI_EXP SDpiScale
|
|
{
|
|
public:
|
|
static int GetBuiltinScaleCount();
|
|
|
|
static const int * GetBuiltinScales();
|
|
|
|
/**
|
|
* NormalizeScale
|
|
* @brief 标准化放大比例, 选择比自己指定比例小一号的比例
|
|
* @param [in] nScale -- input scale
|
|
* @return int -- normalized scale
|
|
*
|
|
* Describe
|
|
*/
|
|
static int NormalizeScale(int nScale);
|
|
};
|
|
|
|
|
|
}
|
|
|