Exemplo n.º 1
0
        internal static CssBox CreateIsolateBox(ITextService iFonts, RootGraphic rootgfx)
        {
            var spec = new BoxSpec();

            spec.CssDisplay = CssDisplay.Block;
            spec.Freeze();
            var box = new CssIsolateBox(spec, rootgfx);

            //------------------------------------
            box.ReEvaluateFont(iFonts, 10);
            //------------------------------------
            return(box);
        }
Exemplo n.º 2
0
 internal static CssBox CreateIsolateBox(IFonts iFonts, RootGraphic rootgfx)
 {
     var spec = new BoxSpec();
     spec.CssDisplay = CssDisplay.Block;
     spec.Freeze();
     var box = new CssIsolateBox(spec, rootgfx);
     //------------------------------------
     box.ReEvaluateFont(iFonts, 10);
     //------------------------------------
     return box;
 }