Home
last modified time | relevance | path

Searched refs:rtText (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/xfa/src/fdp/src/tto/
Dfde_textout.cpp166 CFX_RectF rtText; in CalcSize() local
167 rtText.Set(0.0f, 0.0f, (FX_FLOAT)size.x, (FX_FLOAT)size.y); in CalcSize()
168 CalcSize(pwsStr, iLength, rtText); in CalcSize()
169 size.x = (int32_t)rtText.Width(); in CalcSize()
170 size.y = (int32_t)rtText.Height(); in CalcSize()
175 CFX_RectF rtText; in CalcSize() local
176 rtText.Set(0.0f, 0.0f, size.x, size.y); in CalcSize()
177 CalcSize(pwsStr, iLength, rtText); in CalcSize()
178 size.x = rtText.Width(); in CalcSize()
179 size.y = rtText.Height(); in CalcSize()
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_fftext.cpp36 CFX_RectF rtText; in RenderWidget() local
37 GetRectWithoutRotate(rtText); in RenderWidget()
41 XFA_RectWidthoutMargin(rtText, mgWidget); in RenderWidget()
51 rtText.Deflate(fLeftInset, fTopInset, fRightInset, fBottomInset); in RenderWidget()
55 mt.Set(1, 0, 0, 1, rtText.left, rtText.top); in RenderWidget()
56 CFX_RectF rtClip = rtText; in RenderWidget()
83 CFX_RectF rtText; in PerformLayout() local
84 pItem->GetRect(rtText); in PerformLayout()
89 rtText.height -= fTopInset; in PerformLayout()
93 rtText.height -= fBottomInset; in PerformLayout()
[all …]
Dxfa_textlayout.h323 void ItemBlocks(const CFX_RectF& rtText, int32_t iBlockIndex);
Dxfa_textlayout.cpp1188 void CXFA_TextLayout::ItemBlocks(const CFX_RectF& rtText, int32_t iBlockIndex) { in ItemBlocks() argument
1216 if (fLinePos + fLineHeight - rtText.height > 0.001) { in ItemBlocks()
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_pushbuttonimp.cpp131 CFX_RectF rtText; in DrawWidget() local
132 rtText.Set(0, 0, 0, 0); in DrawWidget()
134 CalcTextRect(wsCaption, pTheme, 0, m_iTTOAlign, rtText); in DrawWidget()
207 pPicture->GetHeight() / 2 - m_rtCaption.top - rtText.height / 2; in DrawWidget()
213 (pPicture->GetWidth() + rtText.width) / 2); in DrawWidget()
216 ((m_rtClient.width) / 2 - rtText.width / 2 - point.x) + in DrawWidget()
217 rtText.width / 2 - 7; in DrawWidget()
219 pPicture->GetHeight() / 2 - m_rtCaption.top - rtText.height / 2; in DrawWidget()
224 pPicture->GetWidth() - rtText.width; in DrawWidget()
227 pPicture->GetWidth() - rtText.width + 7; in DrawWidget()
[all …]
Dfwl_listboximp.cpp703 CFX_RectF rtText(rtItem); in DrawItem() local
704 rtText.Deflate(FWL_LISTBOX_ItemTextMargin, FWL_LISTBOX_ItemTextMargin); in DrawItem()
706 rtText.Deflate(rtItem.height, 0, 0, 0); in DrawItem()
714 textParam.m_rtPart = rtText; in DrawItem()
/external/pdfium/xfa/src/fgas/src/layout/
Dfx_textbreak.cpp1183 CFX_RectF rtText(*pTxtRun->pRect); in GetDisplayPos() local
1212 fX = rtText.left; in GetDisplayPos()
1214 fX += (rtText.width - fFontSize) / 2.0f; in GetDisplayPos()
1215 fYBase = bRTLPiece ? rtText.bottom() : rtText.top; in GetDisplayPos()
1219 fX = rtText.right(); in GetDisplayPos()
1221 fYBase = rtText.top + (rtText.height - fFontSize) / 2.0f; in GetDisplayPos()
Dfx_rtfbreak.cpp1192 CFX_RectF rtText(*pText->pRect); in GetDisplayPos() local
1215 fX = rtText.left; in GetDisplayPos()
1216 fY = rtText.top; in GetDisplayPos()
1218 fX += (rtText.width - fFontSize) / 2.0f; in GetDisplayPos()
1220 fY = rtText.bottom(); in GetDisplayPos()
1224 fX = rtText.right(); in GetDisplayPos()
/external/pdfium/xfa/src/fwl/src/core/
Dfwl_formimp.cpp600 CFX_RectF rtText; in DrawCaptionText() local
602 rtText = m_rtCaptionText; in DrawCaptionText()
603 rtText.top -= 5; in DrawCaptionText()
605 rtText = m_rtCaption; in DrawCaptionText()
608 rtText.left += fpos; in DrawCaptionText()
610 textParam.m_rtPart = rtText; in DrawCaptionText()