Home | History | Annotate | Download | only in font

Lines Matching refs:rect

242         FX_RECT rect = GetCharBBox(i);
243 if (rect.left == rect.right) {
247 m_FontBBox = rect;
250 if (m_FontBBox.top < rect.top) {
251 m_FontBBox.top = rect.top;
253 if (m_FontBBox.right < rect.right) {
254 m_FontBBox.right = rect.right;
256 if (m_FontBBox.left > rect.left) {
257 m_FontBBox.left = rect.left;
259 if (m_FontBBox.bottom > rect.bottom) {
260 m_FontBBox.bottom = rect.bottom;
267 FX_RECT rect = GetCharBBox('A');
268 m_Ascent = rect.bottom == rect.top ? m_FontBBox.top : rect.top;
269 rect = GetCharBBox('g');
270 m_Descent = rect.bottom == rect.top ? m_FontBBox.bottom : rect.bottom;