Home
last modified time | relevance | path

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

/external/pdfium/xfa/fwl/
Dcfwl_edit.cpp565 const CFX_RectF& edit_bounds = m_rtEngine; in UpdateOffset() local
566 if (edit_bounds.Contains(rtCaret)) { in UpdateOffset()
569 if (contents_bounds.right() < edit_bounds.right() && m_fScrollOffsetX > 0) { in UpdateOffset()
570 m_fScrollOffsetX += contents_bounds.right() - edit_bounds.right(); in UpdateOffset()
573 if (contents_bounds.bottom() < edit_bounds.bottom() && in UpdateOffset()
575 m_fScrollOffsetY += contents_bounds.bottom() - edit_bounds.bottom(); in UpdateOffset()
583 if (rtCaret.left < edit_bounds.left) in UpdateOffset()
584 offsetX = rtCaret.left - edit_bounds.left; in UpdateOffset()
585 if (rtCaret.right() > edit_bounds.right()) in UpdateOffset()
586 offsetX = rtCaret.right() - edit_bounds.right(); in UpdateOffset()
[all …]