You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB
C

#pragma once
struct SFontPar{
enum TxtParGapType
{
_Center=0,//<2F><><EFBFBD>ĵ<EFBFBD>
_Boundary,//<2F>߽<EFBFBD>
};
SFontPar()
{
m_CharGap = 1;//<2F>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>
m_bArc = false;//<2F>Ƿ<EFBFBD>ΪԲ<CEAA><D4B2><EFBFBD>ı<EFBFBD>
m_bReverse = false;//<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
m_bOutDir = false;//<2F>Ƿ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>
m_bVertical = false;//<2F>Ƿ<EFBFBD><C7B7><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
m_ArcRadius = 12;//Բ<><D4B2><EFBFBD>
m_CharHeight = 2;//<2F>ַ<EFBFBD><D6B7>߶<EFBFBD>
m_ItalicAngle = 0;//б<><D0B1><EFBFBD>Ƕ<EFBFBD>
m_ArcAngle = 0;//<2F><>׼<EFBFBD>Ƕ<EFBFBD>
m_GapType = _Boundary;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ķ<EFBFBD>ʽ
}
//<2F><><EFBFBD><EFBFBD>߶ȣ<DFB6><C8A3><EFBFBD><EFBFBD><EFBFBD>
double m_CharHeight;//<2F>ַ<EFBFBD><D6B7>߶<EFBFBD>
double m_CharGap;//<2F>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>
//<2F><>б<EFBFBD>Ƕ<EFBFBD>
double m_ItalicAngle;//б<><D0B1><EFBFBD>Ƕ<EFBFBD>
double m_ArcRadius;//Բ<><D4B2><EFBFBD>
//<2F><>׼<EFBFBD>Ƕ<EFBFBD>
double m_ArcAngle;//<2F><>׼<EFBFBD>Ƕ<EFBFBD>
TxtParGapType m_GapType;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ķ<EFBFBD>ʽ
//<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
bool m_bReverse;//<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
//<2F><><EFBFBD>з<EFBFBD><D0B7><EFBFBD>
bool m_bOutDir;//<2F>Ƿ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>
bool m_bArc;//<2F>Ƿ<EFBFBD>ΪԲ<CEAA><D4B2><EFBFBD>ı<EFBFBD>
bool m_bVertical;//<2F>Ƿ<EFBFBD><C7B7><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
};