C# 클래스 LayoutFarm.HtmlBoxes.LinesFormattingEngine

파일 보기 프로젝트 열기: prepare/HTML-Renderer

공개 메소드들

메소드 설명
DoLayoutLinesContext ( CssBox hostBlock, LayoutVisitor lay ) : void

do layout line formatting context

비공개 메소드들

메소드 설명
ApplyAlignment ( CssLineBox lineBox, CssTextAlign textAlign, LayoutVisitor lay ) : void

Applies vertical and horizontal alignment to words in lineboxes

ApplyCenterAlignment ( CssLineBox line ) : void

Applies centered alignment to the text on the linebox

ApplyJustifyAlignment ( CssLineBox lineBox ) : void
ApplyRightAlignment ( CssLineBox line ) : void

Applies right alignment to the text on the linebox

ApplyRightToLeft ( CssLineBox lineBox ) : void

Applies right to left direction to words

FlowBoxContentIntoHostLineFmtContext ( LayoutVisitor lay, CssBox hostBox, CssBox srcBox, float limitLocalRight, float firstRunStartX, CssLineBox &hostLine, float &cx, FloatFormattingContext &floatCtx ) : void

Recursively flows the content of the box using the inline model

FlowRunsIntoHost ( LayoutVisitor lay, CssBox hostBox, CssBox splitableBox, CssBox b, int childNumber, float limitRight, float firstRunStartX, float leftMostSpace, float rightMostSpace, List runs, CssLineBox &hostLine, float &cx ) : void
SetFinalInnerContentSize ( CssBox box, float innerContentW, float innerContentH, LayoutVisitor lay ) : void

메소드 상세

DoLayoutLinesContext() 공개 정적인 메소드

do layout line formatting context
public static DoLayoutLinesContext ( CssBox hostBlock, LayoutVisitor lay ) : void
hostBlock CssBox
lay LayoutVisitor
리턴 void