Home
last modified time | relevance | path

Searched refs:GetIndexForPoint (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/xfa/fde/
Dcfde_texteditengine_unittest.cpp413 TEST_F(CFDE_TextEditEngineTest, GetIndexForPoint) { in TEST_F() argument
416 EXPECT_EQ(0U, engine()->GetIndexForPoint({0.0f, 0.0f})); in TEST_F()
417 EXPECT_EQ(11U, engine()->GetIndexForPoint({999999.0f, 9999999.0f})); in TEST_F()
418 EXPECT_EQ(1U, engine()->GetIndexForPoint({10.0f, 5.0f})); in TEST_F()
Dcfde_texteditengine.h159 size_t GetIndexForPoint(const CFX_PointF& point);
Dcfde_texteditengine.cpp874 size_t CFDE_TextEditEngine::GetIndexForPoint(const CFX_PointF& point) { in GetIndexForPoint() function in CFDE_TextEditEngine
/external/pdfium/xfa/fwl/
Dcfwl_edit.cpp1164 m_CursorPosition = m_EdtEngine.GetIndexForPoint(DeviceToEngine(pMsg->m_pos)); in DoRButtonDown()
1212 m_EdtEngine.GetIndexForPoint(DeviceToEngine(pMsg->m_pos)); in OnLButtonDown()
1235 size_t click_idx = m_EdtEngine.GetIndexForPoint(DeviceToEngine(pMsg->m_pos)); in OnButtonDoubleClick()
1251 SetCursorPosition(m_EdtEngine.GetIndexForPoint(DeviceToEngine(pMsg->m_pos))); in OnMouseMove()