Exemple #1
0
		private bool m_nextUpstreamSegWsOnly; // toggle for whether to try whitespace-only or no-ws for next upstream seg.

		public ParaBuilder(ParaBox para, LayoutInfo layoutInfo)
		{
			m_para = para;
			m_layoutInfo = layoutInfo;
			m_renderRuns = para.Source.RenderRuns;
			m_gapTop = m_para.GapTop(layoutInfo);
			m_gapLeft = m_para.GapLeading(layoutInfo); // Todo RTL.
			m_gapRight = m_para.GapTrailing(layoutInfo);
			m_surroundWidth = m_para.SurroundWidth(layoutInfo);
			m_surroundHeight = m_para.SurroundHeight(layoutInfo);
		}
Exemple #2
0
        private bool m_nextUpstreamSegWsOnly;         // toggle for whether to try whitespace-only or no-ws for next upstream seg.

        public ParaBuilder(ParaBox para, LayoutInfo layoutInfo)
        {
            m_para           = para;
            m_layoutInfo     = layoutInfo;
            m_renderRuns     = para.Source.RenderRuns;
            m_gapTop         = m_para.GapTop(layoutInfo);
            m_gapLeft        = m_para.GapLeading(layoutInfo);      // Todo RTL.
            m_gapRight       = m_para.GapTrailing(layoutInfo);
            m_surroundWidth  = m_para.SurroundWidth(layoutInfo);
            m_surroundHeight = m_para.SurroundHeight(layoutInfo);
        }