C# Class LayoutFarm.HtmlBoxes.LayoutVisitor

Inheritance: BoxVisitor
Exibir arquivo Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Property Type Description
AddFloatBox void
CalculateWidthMarginTotalUp float
GetFloatingContextStack FloatingContextStack
GetReadyStripDic PartialBoxStrip>.Dictionary
GetReadyStripList List
MeasureStringSize PixelFarm.Drawing.Size
MeasureStringWidth float
MeasureWhiteSpace float
ReleaseStripDic void
ReleaseStripList void
RequestImage void
RequestScrollView void
UpdateRootSize void

Public Methods

Method Description
Bind ( HtmlContainer htmlCont ) : void
LayoutVisitor ( ) : System
UnBind ( ) : void
dbugEnterNewContext ( CssBox box, PaintVisitorContextName contextName ) : void
dbugExitContext ( ) : void
dbugResetLogRecords ( ) : void

Protected Methods

Method Description
OnPopContainingBlock ( ) : void
OnPopDifferentContaingBlock ( CssBox box ) : void
OnPushContainingBlock ( CssBox box ) : void
OnPushDifferentContainingBlock ( CssBox box ) : void

Private Methods

Method Description
AddFloatBox ( CssBox floatBox ) : void
CalculateWidthMarginTotalUp ( CssBox box ) : float

Get the total margin value (left and right) from the given box to the given end box.

GetFloatingContextStack ( ) : FloatingContextStack
GetReadyStripDic ( ) : PartialBoxStrip>.Dictionary
GetReadyStripList ( ) : List
MeasureStringSize ( char buffer, int startIndex, int len, RequestFont f ) : Size
MeasureStringWidth ( char buffer, int startIndex, int len, RequestFont f ) : float
MeasureWhiteSpace ( CssBox box ) : float
ReleaseStripDic ( PartialBoxStrip>.Dictionary dic ) : void
ReleaseStripList ( List list ) : void
RequestImage ( ImageBinder binder, CssBox requestFrom ) : void
RequestScrollView ( CssBox requestFrom ) : void
UpdateRootSize ( CssBox box ) : void

Method Details

Bind() public method

public Bind ( HtmlContainer htmlCont ) : void
htmlCont HtmlContainer
return void

LayoutVisitor() public method

public LayoutVisitor ( ) : System
return System

OnPopContainingBlock() protected method

protected OnPopContainingBlock ( ) : void
return void

OnPopDifferentContaingBlock() protected method

protected OnPopDifferentContaingBlock ( CssBox box ) : void
box CssBox
return void

OnPushContainingBlock() protected method

protected OnPushContainingBlock ( CssBox box ) : void
box CssBox
return void

OnPushDifferentContainingBlock() protected method

protected OnPushDifferentContainingBlock ( CssBox box ) : void
box CssBox
return void

UnBind() public method

public UnBind ( ) : void
return void

dbugEnterNewContext() public method

public dbugEnterNewContext ( CssBox box, PaintVisitorContextName contextName ) : void
box CssBox
contextName PaintVisitorContextName
return void

dbugExitContext() public method

public dbugExitContext ( ) : void
return void

dbugResetLogRecords() public method

public dbugResetLogRecords ( ) : void
return void