Lines Matching defs:font_size
254 FX_FLOAT font_size = textobj->m_TextState.GetFontSize();
256 DrawTextPathWithPattern(textobj, pObj2Device, pFont, font_size, &text_matrix, bFill, bStroke);
264 if (font_size * text_matrix.GetXUnit() * pObj2Device->GetXUnit() < 6) {
296 return CPDF_TextRenderer::DrawTextPath(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size,
300 return CPDF_TextRenderer::DrawNormalText(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size,
385 FX_FLOAT font_size = textobj->m_TextState.GetFontSize();
386 char_matrix.Scale(font_size, font_size);
524 void Load(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size);
594 CPDF_Font* pFont, FX_FLOAT font_size,
601 CharPosList.Load(nChars, pCharCodes, pCharPos, pFont, font_size);
603 &pFont->m_Font, pCache, font_size, pText2User, pUser2Device,
611 FX_FLOAT font_size = (FX_FLOAT)height * 1000.0f / (FX_FLOAT)(font_bbox.top - font_bbox.bottom);
613 FX_FLOAT origin_y = (FX_FLOAT)top + font_size * (FX_FLOAT)font_bbox.top / 1000.0f;
615 DrawTextString(pDevice, origin_x, origin_y, pFont, font_size, &matrix, str, argb);
617 void CPDF_TextRenderer::DrawTextString(CFX_RenderDevice* pDevice, FX_FLOAT origin_x, FX_FLOAT origin_y, CPDF_Font* pFont, FX_FLOAT font_size,
642 cur_pos += pFont->GetCharWidthF(pCharCodes[i]) * font_size / 1000;
654 DrawNormalText(pDevice, nChars, pCharCodes, pCharPos, pFont, font_size, &matrix, fill_argb, pOptions);
656 DrawTextPath(pDevice, nChars, pCharCodes, pCharPos, pFont, font_size, &matrix, NULL, pGraphState,
664 CPDF_Font* pFont, FX_FLOAT font_size,
670 CharPosList.Load(nChars, pCharCodes, pCharPos, pFont, font_size);
698 return pDevice->DrawNormalText(CharPosList.m_nChars, CharPosList.m_pCharPos, &pFont->m_Font, pCache, font_size, pText2Device, fill_argb, FXGE_flags);
701 CPDF_Font* pFont, FX_FLOAT font_size,
729 CharPosList.Load(textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size);
744 matrix.Concat(font_size, 0, 0, font_size, charpos.m_OriginX, charpos.m_OriginY);