Inheritance diagram for PowerUI.BlockBoxMeta:
PowerUI.LineBoxMeta

Public Member Functions

 BlockBoxMeta (LineBoxMeta parent, LayoutBox firstBox, RenderableData renderData)
 
- Public Member Functions inherited from PowerUI.LineBoxMeta
 LineBoxMeta (LineBoxMeta parent, LayoutBox firstBox, RenderableData renderData)
 
void RemoveFromLine (LayoutBox box)
 Removes the given box from this line. Must not be the first one. More...
 
void TryBreakParent ()
 Attempts to break a line for a parent inline node. More...
 
int GetLineSpace (float width, float initialOffset)
 Ensures the given amount of space is available by completing the line if needed and potentially clearing floats too. More...
 
float FloatClearance (bool left)
 The float 'clearance' on the left/right. It's basically the bottom of left/right floats. More...
 
bool TryClearFloat ()
 Tries to clear a left/right float (whichever is shortest first). More...
 
void ClearFloat (int mode)
 Clears left/right/both floats. More...
 
void CompleteLine (int settings)
 Completes a line, optionally breaking it. More...
 
void AdvancePen (LayoutBox styleBox)
 Advances the pen now. More...
 

Public Attributes

float PreviousMargin
 The previous block margin (margin-bottom). Used for margin collapsing. More...
 
float LargestLineWidth_
 The length of the longest line so far. More...
 
- Public Attributes inherited from PowerUI.LineBoxMeta
BlockBoxMeta HostBlock
 The "host" block box. More...
 
float LineHeight
 The height of the current line being processed. More...
 
int HorizontalAlign
 The value for horizontal-align. If it's not required, this is just 0. More...
 
int VerticalAlign
 The value for vertical-align. More...
 
float VerticalAlignOffset
 Vertical-align offset from the baseline. More...
 
LineBoxMeta Parent
 The next box in the hierarchy. More...
 
RenderableData RenderData
 The inline element. More...
 
float MaxOffset
 An offset to apply to MaxX. More...
 
bool ContainsBidirectional
 True if the current line contains bi-directional text. I.e. Any box with a non-zero "UnicodeBidi" value. More...
 
float CssLineHeight
 The value of the CSS line-height property. More...
 

Package Attributes

float PenY_
 The current y location of the renderer in screen pixels from the top. More...
 
float LineStart_
 The point at which lines begin at. More...
 
bool GoingLeftwards_
 True if the rendering direction is left. This originates from the direction: css property. More...
 
float MaxX_
 The x value that must not be exceeded by elements on a line. Used if the parent has fixed width. More...
 
- Package Attributes inherited from PowerUI.LineBoxMeta
LayoutBox LastOnLine
 A linked list of elements on a line are kept. This is the last element on the current line. More...
 
LayoutBox FirstOnLine
 A linked list of elements on a line are kept. This is the first element on the current line. More...
 
LayoutBox LastOutOfFlow
 A linked list of elements on a line are kept. This is the last element on the current out of flow line. More...
 
LayoutBox FirstOutOfFlow
 A linked list of elements on a line are kept. This is the first element on the current out of flow line. More...
 
LayoutBox LastLineStart
 The last line start. Tracked for alignment. More...
 
LayoutBox FirstLineStart
 The first line start. Tracked for alignment. More...
 
int WhiteSpace
 This boxes whitespace mode. More...
 
float ClearY_
 The current 'clear zone'. Added to PenY when something is added to the current line. More...
 
FloatingElements Floats
 The set of active floated elements for the current line being rendered. More...
 
float PenX
 The current x location of the renderer in screen pixels from the left. More...
 
LayoutBox CurrentBox
 The current box being worked on. More...
 

Properties

override float PenY [get, set]
 The current y location of the renderer in screen pixels from the top. More...
 
override bool GoingLeftwards [get, set]
 True if the rendering direction is left. This originates from the direction: css property. More...
 
override float MaxX [get, set]
 The x value that must not be exceeded by elements on a line. Used if the parent has fixed width. More...
 
override float LineStart [get, set]
 The starting line point. More...
 
override float LargestLineWidth [get, set]
 The length of the longest line so far. More...
 
- Properties inherited from PowerUI.LineBoxMeta
virtual float PenY [get, set]
 The current y location of the renderer in screen pixels from the top. More...
 
virtual float LargestLineWidth [get, set]
 The length of the longest line so far. Used for the content width. More...
 
virtual bool GoingLeftwards [get, set]
 True if the rendering direction is left. This originates from the direction: css property. More...
 
virtual float LineStart [get, set]
 The start position of a line. More...
 
virtual float MaxX [get, set]
 The x value that must not be exceeded by elements on a line. Used if the parent has fixed width. More...
 

Additional Inherited Members

- Package Functions inherited from PowerUI.LineBoxMeta
void AddToLine (LayoutBox styleBox)
 Adds the given style to the current line. More...
 

Constructor & Destructor Documentation

PowerUI.BlockBoxMeta.BlockBoxMeta ( LineBoxMeta  parent,
LayoutBox  firstBox,
RenderableData  renderData 
)
inline

Member Data Documentation

bool PowerUI.BlockBoxMeta.GoingLeftwards_
package

True if the rendering direction is left. This originates from the direction: css property.

float PowerUI.BlockBoxMeta.LargestLineWidth_

The length of the longest line so far.

float PowerUI.BlockBoxMeta.LineStart_
package

The point at which lines begin at.

float PowerUI.BlockBoxMeta.MaxX_
package

The x value that must not be exceeded by elements on a line. Used if the parent has fixed width.

float PowerUI.BlockBoxMeta.PenY_
package

The current y location of the renderer in screen pixels from the top.

float PowerUI.BlockBoxMeta.PreviousMargin

The previous block margin (margin-bottom). Used for margin collapsing.

Property Documentation

override bool PowerUI.BlockBoxMeta.GoingLeftwards
getset

True if the rendering direction is left. This originates from the direction: css property.

override float PowerUI.BlockBoxMeta.LargestLineWidth
getset

The length of the longest line so far.

override float PowerUI.BlockBoxMeta.LineStart
getset

The starting line point.

override float PowerUI.BlockBoxMeta.MaxX
getset

The x value that must not be exceeded by elements on a line. Used if the parent has fixed width.

override float PowerUI.BlockBoxMeta.PenY
getset

The current y location of the renderer in screen pixels from the top.