C# Class LayoutFarm.HtmlBoxes.CssLayoutEngine

Helps on CSS Layout.
Datei anzeigen Open project: prepare/HTML-Renderer

Public Methods

Method Description
PerformContentLayout ( CssBox box, LayoutVisitor lay ) : void

Private Methods

Method Description
CalculateActualWidth ( CssBox box ) : float
ContainsInlinesOnly ( CssBox box ) : bool

Check if the given box contains only inline child boxes.

CreateAnonBlock ( CssBox parent, CssBox insertBefore ) : CssBox
DoLayoutBlocksContext ( CssBox box, LayoutVisitor lay ) : void
LayoutContentInAbsoluteLayer ( LayoutVisitor lay, CssBox srcBox ) : void
RearrangeWithFlexContext ( CssBox box, LayoutVisitor lay ) : void
SetFinalInnerContentSize ( CssBox box, float innerContentW, float innerContentH, LayoutVisitor lay ) : void

Method Details

PerformContentLayout() public static method

public static PerformContentLayout ( CssBox box, LayoutVisitor lay ) : void
box CssBox
lay LayoutVisitor
return void