Lines Matching refs:iCharWidth
54 FX_SAFE_INT32 iCharWidth = 0; in AppendChar_Combination() local
57 iCharWidth = m_iCombWidth; in AppendChar_Combination()
84 iCharWidth = iCharWidthOut; in AppendChar_Combination()
86 iCharWidth = 0; in AppendChar_Combination()
88 iCharWidth *= m_iFontSize; in AppendChar_Combination()
89 iCharWidth *= m_iHorizontalScale; in AppendChar_Combination()
90 iCharWidth /= 100; in AppendChar_Combination()
93 iCharWidth *= -1; in AppendChar_Combination()
94 pCurChar->m_iCharWidth = iCharWidth.ValueOrDefault(0); in AppendChar_Combination()
136 FX_SAFE_INT32 iCharWidth = 0; in AppendChar_Arabic() local
141 iCharWidth = pLastChar->m_iCharWidth; in AppendChar_Arabic()
150 iCharWidth = iCharWidthOut; in AppendChar_Arabic()
153 iCharWidth = 0; in AppendChar_Arabic()
155 iCharWidth *= m_iFontSize; in AppendChar_Arabic()
156 iCharWidth *= m_iHorizontalScale; in AppendChar_Arabic()
157 iCharWidth /= 100; in AppendChar_Arabic()
159 int32_t iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Arabic()
168 FX_SAFE_INT32 iCharWidth = 0; in AppendChar_Arabic() local
170 iCharWidth = m_iCombWidth; in AppendChar_Arabic()
175 iCharWidth = iCharWidthOut; in AppendChar_Arabic()
178 iCharWidth = 0; in AppendChar_Arabic()
180 iCharWidth *= m_iFontSize; in AppendChar_Arabic()
181 iCharWidth *= m_iHorizontalScale; in AppendChar_Arabic()
182 iCharWidth /= 100; in AppendChar_Arabic()
185 int32_t iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Arabic()
198 FX_SAFE_INT32 iCharWidth = 0; in AppendChar_Others() local
204 iCharWidth = m_iCombWidth; in AppendChar_Others()
208 iCharWidth = iCharWidthOut; in AppendChar_Others()
210 iCharWidth = 0; in AppendChar_Others()
212 iCharWidth *= m_iFontSize; in AppendChar_Others()
213 iCharWidth *= m_iHorizontalScale; in AppendChar_Others()
214 iCharWidth /= 100; in AppendChar_Others()
217 iCharWidth += m_iCharSpace; in AppendChar_Others()
219 int32_t iCharWidthValid = iCharWidth.ValueOrDefault(0); in AppendChar_Others()
350 int32_t iCharWidth; in EndBreak_BidiLine() local
370 iCharWidth = pTC->m_iCharWidth; in EndBreak_BidiLine()
371 if (iCharWidth > 0) in EndBreak_BidiLine()
372 tp.m_iWidth += iCharWidth; in EndBreak_BidiLine()
385 iCharWidth = pTC->m_iCharWidth; in EndBreak_BidiLine()
386 if (iCharWidth > 0) in EndBreak_BidiLine()
387 tp.m_iWidth += iCharWidth; in EndBreak_BidiLine()
560 int32_t iCharWidth = pCur->m_iCharWidth; in GetBreakPos() local
561 if (iCharWidth > 0) in GetBreakPos()
562 *pEndPos -= iCharWidth; in GetBreakPos()
590 iCharWidth = pCur->m_iCharWidth; in GetBreakPos()
591 if (iCharWidth > 0) in GetBreakPos()
592 *pEndPos -= iCharWidth; in GetBreakPos()
818 int32_t iCharWidth = iWidth; in GetDisplayPos() local
819 if (iCharWidth < 0) in GetDisplayPos()
820 iCharWidth = -iCharWidth; in GetDisplayPos()
822 iCharWidth /= iFontSize; in GetDisplayPos()
825 formChars[0].iWidth = iCharWidth; in GetDisplayPos()
828 iCharWidth = 0; in GetDisplayPos()
829 pFont->GetCharWidth(0x0651, &iCharWidth); in GetDisplayPos()
830 formChars[1].iWidth = iCharWidth; in GetDisplayPos()
832 iCharWidth = 0; in GetDisplayPos()
833 pFont->GetCharWidth(0x0670, &iCharWidth); in GetDisplayPos()
834 formChars[2].iWidth = iCharWidth; in GetDisplayPos()
839 iCharWidth = formChars[j].iWidth; in GetDisplayPos()
852 pCharPos->m_FontCharWidth = iCharWidth; in GetDisplayPos()
855 fCharWidth = fFontSize * iCharWidth / 1000.0f; in GetDisplayPos()
863 int32_t iFormWidth = iCharWidth; in GetDisplayPos()
865 float fOffset = fFontSize * (iCharWidth - iFormWidth) / 2000.0f; in GetDisplayPos()
972 int32_t iCharWidth = 1000; in GetCharRects() local
973 pFont->GetCharWidth(wch, &iCharWidth); in GetCharRects()
975 if (iCharWidth > 0) { in GetCharRects()
976 fCharWidth = iCharWidth * fScale; in GetCharRects()