Home
last modified time | relevance | path

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

/external/pdfium/xfa/fwl/
Dcfwl_edit.cpp716 float fOffsetY = 0.0f; in UpdateVAlignment() local
719 fOffsetY = (m_rtEngine.height - contents_bounds.height) / 2.0f; in UpdateVAlignment()
720 if (fOffsetY < (fSpaceAbove + fSpaceBelow) / 2.0f && in UpdateVAlignment()
724 fOffsetY += (fSpaceAbove - fSpaceBelow) / 2.0f; in UpdateVAlignment()
726 fOffsetY = (m_rtEngine.height - contents_bounds.height); in UpdateVAlignment()
727 fOffsetY -= fSpaceBelow; in UpdateVAlignment()
729 fOffsetY += fSpaceAbove; in UpdateVAlignment()
731 m_fVAlignOffset = std::max(fOffsetY, 0.0f); in UpdateVAlignment()