Home
last modified time | relevance | path

Searched refs:rtWidget (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffwidget.cpp31 void CXFA_FFWidget::GetWidgetRect(CFX_RectF& rtWidget) { in GetWidgetRect() argument
36 rtWidget = m_rtWidget; in GetWidgetRect()
43 void CXFA_FFWidget::GetRectWithoutRotate(CFX_RectF& rtWidget) { in GetRectWithoutRotate() argument
44 GetWidgetRect(rtWidget); in GetRectWithoutRotate()
48 rtWidget.top = rtWidget.bottom(); in GetRectWithoutRotate()
49 fValue = rtWidget.width; in GetRectWithoutRotate()
50 rtWidget.width = rtWidget.height; in GetRectWithoutRotate()
51 rtWidget.height = fValue; in GetRectWithoutRotate()
54 rtWidget.left = rtWidget.right(); in GetRectWithoutRotate()
55 rtWidget.top = rtWidget.bottom(); in GetRectWithoutRotate()
[all …]
Dxfa_fffield.cpp46 CFX_RectF rtWidget; in GetBBox() local
47 m_pNormalWidget->GetWidgetRect(rtWidget); in GetBBox()
48 rtBox.Union(rtWidget); in GetBBox()
72 CFX_RectF rtWidget; in RenderWidget() local
73 m_pNormalWidget->GetWidgetRect(rtWidget); in RenderWidget()
75 mt.Set(1, 0, 0, 1, rtWidget.left, rtWidget.top); in RenderWidget()
163 CFX_RectF rtWidget; in CapPlacement() local
164 GetRectWithoutRotate(rtWidget); in CapPlacement()
174 rtWidget.Deflate(fLeftInset, fTopInset, fRightInset, fBottomInset); in CapPlacement()
177 rtWidget.Deflate(fLeftInset, fTopInset, fRightInset, 0); in CapPlacement()
[all …]
Dxfa_ffpushbutton.cpp41 CFX_RectF rtWidget; in RenderWidget() local
42 GetRectWithoutRotate(rtWidget); in RenderWidget()
44 mt.Set(1, 0, 0, 1, rtWidget.left, rtWidget.top); in RenderWidget()
105 CFX_RectF rtWidget; in PerformLayout() local
106 GetRectWithoutRotate(rtWidget); in PerformLayout()
107 m_rtUI = rtWidget; in PerformLayout()
109 XFA_RectWidthoutMargin(rtWidget, mgWidget); in PerformLayout()
112 m_rtCaption.Set(rtWidget.left, rtWidget.top, rtWidget.width, rtWidget.height); in PerformLayout()
181 CFX_RectF rtWidget; in RenderHighlightCaption() local
182 GetRectWithoutRotate(rtWidget); in RenderHighlightCaption()
[all …]
Dxfa_ffcheckbutton.cpp88 CFX_RectF rtWidget; in PerformLayout() local
89 GetRectWithoutRotate(rtWidget); in PerformLayout()
91 XFA_RectWidthoutMargin(rtWidget, mgWidget); in PerformLayout()
97 m_rtCaption.Set(rtWidget.left, rtWidget.top, rtWidget.width, in PerformLayout()
98 rtWidget.height); in PerformLayout()
104 fCapReserve = rtWidget.height - fCheckSize; in PerformLayout()
106 fCapReserve = rtWidget.width - fCheckSize; in PerformLayout()
116 m_rtUI = rtWidget; in PerformLayout()
Dxfa_fftext.cpp173 CFX_RectF rtWidget; in FWLToClient() local
174 GetRectWithoutRotate(rtWidget); in FWLToClient()
175 fx -= rtWidget.left; in FWLToClient()
176 fy -= rtWidget.top; in FWLToClient()
Dxfa_ffbarcode.cpp56 CFX_RectF rtWidget; in RenderWidget() local
57 m_pNormalWidget->GetWidgetRect(rtWidget); in RenderWidget()
59 mt.Set(1, 0, 0, 1, rtWidget.left, rtWidget.top); in RenderWidget()
Dxfa_ffchoicelist.cpp214 CFX_RectF rtWidget; in GetBBox() local
215 ((CFWL_ComboBox*)m_pNormalWidget)->GetBBox(rtWidget); in GetBBox()
216 rtBox.Union(rtWidget); in GetBBox()
227 CFX_RectF rtWidget; in PtInActiveRect() local
228 ((CFWL_ComboBox*)m_pNormalWidget)->GetBBox(rtWidget); in PtInActiveRect()
229 if (rtWidget.Contains(fx, fy)) { in PtInActiveRect()
Dxfa_ffsignature.cpp38 CFX_RectF rtWidget = m_rtUI; in RenderWidget() local
41 pDocProvider->RenderCustomWidget(this, pGS, &mtRotate, rtWidget); in RenderWidget()
Dxfa_ffwidget.h47 void GetWidgetRect(CFX_RectF& rtWidget);
136 void GetRectWithoutRotate(CFX_RectF& rtWidget);
183 const CFX_RectF& rtWidget,
Dxfa_fffield.h74 const CFX_RectF& rtWidget,
77 const CFX_RectF& rtWidget,
Dxfa_fftextedit.cpp564 CFX_RectF rtWidget; in GetBBox() local
565 ((CFWL_DateTimePicker*)m_pNormalWidget)->GetBBox(rtWidget); in GetBBox()
566 rtBox.Union(rtWidget); in GetBBox()
577 CFX_RectF rtWidget; in PtInActiveRect() local
578 ((CFWL_DateTimePicker*)m_pNormalWidget)->GetBBox(rtWidget); in PtInActiveRect()
579 if (rtWidget.Contains(fx, fy)) { in PtInActiveRect()
/external/pdfium/xfa/src/fwl/src/theme/
Dformtp.cpp222 CFX_RectF rtWidget; in CalCloseBox() local
223 pWidget->GetWidgetRect(rtWidget); in CalCloseBox()
224 rtWidget.Offset(-rtWidget.left, -rtWidget.top); in CalCloseBox()
226 rect.Set(rtWidget.left + FWLTHEME_FORMBTN_Margin + FWLTHEME_FORMBTN_Span, in CalCloseBox()
227 rtWidget.top + FWLTHEME_FORMBTN_Margin, FWLTHEME_FORMBTN_Size, in CalCloseBox()
230 rect.Set(rtWidget.left + FWLTHEME_FORMBTN_Margin + FWLTHEME_FORMBTN_Span, in CalCloseBox()
231 rtWidget.top + FWLTHEME_FORMBTN_Margin, 0, 0); in CalCloseBox()
236 CFX_RectF rtWidget; in CalMaxBox() local
237 pWidget->GetWidgetRect(rtWidget); in CalMaxBox()
238 rtWidget.Offset(-rtWidget.left, -rtWidget.top); in CalMaxBox()
[all …]
/external/pdfium/xfa/src/fwl/src/core/
Dfwl_widgetmgrimp.cpp793 CFX_RectF rtWidget; in DrawChild() local
794 child->GetWidgetRect(rtWidget); in DrawChild()
795 if (rtWidget.IsEmpty()) { in DrawChild()
799 CFX_RectF clipBounds(rtWidget); in DrawChild()
815 widgetMatrix.Translate(rtWidget.left, rtWidget.top, TRUE); in DrawChild()
881 CFX_RectF rtWidget; in IsNeedRepaint() local
882 pWidget->GetWidgetRect(rtWidget); in IsNeedRepaint()
883 rtWidget.left = rtWidget.top = 0; in IsNeedRepaint()
884 pMatrix->TransformRect(rtWidget); in IsNeedRepaint()
885 if (!rtWidget.IntersectWith(rtDirty)) { in IsNeedRepaint()
[all …]
Dfwl_gridimp.cpp1224 CFX_RectF rtWidget, rtOld; in SetAllWidgetsRect() local
1225 rtWidget.Set(fLeftMargin, fTopMargin, pInfo->m_fActualWidth, in SetAllWidgetsRect()
1228 if (rtWidget == rtOld) { in SetAllWidgetsRect()
1231 pWidget->SetWidgetRect(rtWidget); in SetAllWidgetsRect()
1232 if (rtWidget.width == rtOld.width && rtWidget.height == rtOld.height) { in SetAllWidgetsRect()
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_tooltipctrlimp.cpp235 CFX_RectF rtWidget(m_pProperties->m_rtWidget); in RefreshToolTipPos() local
240 rtPopup.Set(fx, fy, rtWidget.Width(), rtWidget.Height()); in RefreshToolTipPos()
Dfwl_comboboximp.cpp1779 CFX_RectF rtWidget; in OnLButtonDown() local
1780 m_pForm->GetWidgetRect(rtWidget); in OnLButtonDown()
1781 rtWidget.left = rtWidget.top = 0; in OnLButtonDown()
1782 if (rtWidget.Contains(pMsg->m_fx, pMsg->m_fy)) { in OnLButtonDown()