Home
last modified time | relevance | path

Searched refs:rcPlate (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/fpdfsdk/pwl/
Dcpwl_list_ctrl.cpp111 CFX_FloatRect rcPlate = m_rcPlate; in InToOut() local
112 return CFX_PointF(point.x - (m_ptScrollPos.x - rcPlate.left), in InToOut()
113 point.y - (m_ptScrollPos.y - rcPlate.top)); in InToOut()
117 CFX_FloatRect rcPlate = m_rcPlate; in OutToIn() local
118 return CFX_PointF(point.x + (m_ptScrollPos.x - rcPlate.left), in OutToIn()
119 point.y + (m_ptScrollPos.y - rcPlate.top)); in OutToIn()
414 CFX_FloatRect rcPlate = m_rcPlate; in IsItemVisible() local
417 return rcItem.bottom >= rcPlate.bottom && rcItem.top <= rcPlate.top; in IsItemVisible()
424 CFX_FloatRect rcPlate = m_rcPlate; in ScrollToListItem() local
428 if (FXSYS_IsFloatSmaller(rcItemCtrl.bottom, rcPlate.bottom)) { in ScrollToListItem()
[all …]
Dcpwl_edit_impl.cpp944 CFX_FloatRect rcPlate = m_pVT->GetPlateRect(); in GetVisibleWordRange() local
947 m_pVT->SearchWordPlace(EditToVT(CFX_PointF(rcPlate.left, rcPlate.top))); in GetVisibleWordRange()
949 EditToVT(CFX_PointF(rcPlate.right, rcPlate.bottom))); in GetVisibleWordRange()
1029 CFX_FloatRect rcPlate = m_pVT->GetPlateRect(); in VTToEdit() local
1038 fPadding = (rcPlate.Height() - rcContent.Height()) * 0.5f; in VTToEdit()
1041 fPadding = rcPlate.Height() - rcContent.Height(); in VTToEdit()
1045 return CFX_PointF(point.x - (m_ptScrollPos.x - rcPlate.left), in VTToEdit()
1046 point.y - (m_ptScrollPos.y + fPadding - rcPlate.top)); in VTToEdit()
1051 CFX_FloatRect rcPlate = m_pVT->GetPlateRect(); in EditToVT() local
1060 fPadding = (rcPlate.Height() - rcContent.Height()) * 0.5f; in EditToVT()
[all …]
Dcpwl_list_box.cpp49 CFX_FloatRect rcPlate = m_pListCtrl->GetPlateRect(); in DrawThisAppearance() local
55 if (rcItem.bottom > rcPlate.top || rcItem.top < rcPlate.bottom) in DrawThisAppearance()
Dcpwl_edit.h96 const CFX_FloatRect& rcPlate,
Dcpwl_edit.cpp277 const CFX_FloatRect& rcPlate, in GetCharArrayAutoFontSize() argument
284 CFX_FloatRect rcCell = rcPlate; in GetCharArrayAutoFontSize()
/external/pdfium/core/fpdfdoc/
Dcpdf_iconfit.cpp83 const CFX_FloatRect& rcPlate) const { in GetScale()
86 const float fPlateWidth = rcPlate.Width(); in GetScale()
87 const float fPlateHeight = rcPlate.Height(); in GetScale()
121 const CFX_FloatRect& rcPlate) const { in GetImageOffset()
125 return {(rcPlate.Width() - fImageFactWidth) * icon_position.x, in GetImageOffset()
126 (rcPlate.Height() - fImageFactHeight) * icon_position.y}; in GetImageOffset()
Dcpdf_iconfit.h28 const CFX_FloatRect& rcPlate) const;
31 const CFX_FloatRect& rcPlate) const;
/external/pdfium/fpdfsdk/
Dcpdfsdk_appstream.cpp723 const CFX_FloatRect rcPlate = pWnd->GetClientRect(); in GenerateIconAppStream() local
726 const CFX_VectorF scale = fit.GetScale(image_size, rcPlate); in GenerateIconAppStream()
727 const CFX_VectorF offset = fit.GetImageOffset(image_size, scale, rcPlate); in GenerateIconAppStream()
732 WriteAppendRect(str, rcPlate); in GenerateIconAppStream()
736 CFX_Matrix scale_matrix(scale.x, 0, 0, scale.y, rcPlate.left + offset.x, in GenerateIconAppStream()
737 rcPlate.bottom + offset.y); in GenerateIconAppStream()