Lines Matching refs:contents_bounds
662 CFX_RectF contents_bounds = m_EdtEngine.GetContentsBoundingBox(); in UpdateOffset() local
663 contents_bounds.Offset(fOffSetX, fOffSetY); 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()
717 CFX_RectF contents_bounds = m_EdtEngine.GetContentsBoundingBox(); in UpdateVAlignment() local
719 fOffsetY = (m_rtEngine.height - contents_bounds.height) / 2.0f; in UpdateVAlignment()
726 fOffsetY = (m_rtEngine.height - contents_bounds.height); in UpdateVAlignment()
763 CFX_RectF contents_bounds = m_EdtEngine.GetContentsBoundingBox(); in UpdateScroll() local
767 if (rtScroll.width < contents_bounds.width) { in UpdateScroll()
769 float fRange = contents_bounds.width - rtScroll.width; in UpdateScroll()
793 if (rtScroll.height < contents_bounds.height) { in UpdateScroll()
797 std::max(contents_bounds.height - m_rtEngine.height, fStep); in UpdateScroll()