Home
last modified time | relevance | path

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

/external/pdfium/xfa/fwl/
Dcfwl_edit.cpp660 const CFX_RectF& edit_bounds = m_rtEngine; in UpdateOffset() local
661 if (edit_bounds.Contains(rtCaret)) { in UpdateOffset()
664 if (contents_bounds.right() < edit_bounds.right() && m_fScrollOffsetX > 0) { in UpdateOffset()
665 m_fScrollOffsetX += contents_bounds.right() - edit_bounds.right(); in UpdateOffset()
668 if (contents_bounds.bottom() < edit_bounds.bottom() && in UpdateOffset()
670 m_fScrollOffsetY += contents_bounds.bottom() - edit_bounds.bottom(); in UpdateOffset()
678 if (rtCaret.left < edit_bounds.left) in UpdateOffset()
679 offsetX = rtCaret.left - edit_bounds.left; in UpdateOffset()
680 if (rtCaret.right() > edit_bounds.right()) in UpdateOffset()
681 offsetX = rtCaret.right() - edit_bounds.right(); in UpdateOffset()
[all …]