Searched refs:fOffsetY (Results 1 – 1 of 1) sorted by relevance
716 float fOffsetY = 0.0f; in UpdateVAlignment() local719 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()