C# Class LayoutFarm.RenderElement

Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
dbug_BeginArr int
dbug_FinishArr int
dbug_FixedElementCode string
dbug_InvalidateContentArrEpisode int
dbug_InvalidateRecalculateSizeEpisode int
dbug_ObjectNote string
dbug_ValidateContentArrEpisode int
dbug_ValidateRecalculateSizeEpisode int
dbug_element_code_y int
dbug_hide_objIden bool
dbug_obj_id int
dbug_totalInvalidateContentArrEpisode int

Private Properties

Property Type Description
GetGlobalLocationStatic Point
GetLayoutSpecificDimensionType int
IParentLink RenderElement
IParentLink string
IParentLink void
RootInvalidateGraphicArea void
dbugGetLayoutTracer dbugVisualLayoutTracer

Public Methods

Method Description
AddChild ( RenderElement renderE ) : void
ChildrenHitTestCore ( HitChain hitChain ) : void
ClearAllChildren ( ) : void
ContainPoint ( int x, int y ) : bool
ContainRect ( Rectangle r ) : bool
ContainRect ( int x, int y, int width, int height ) : bool
Contains ( Point testPoint ) : bool
CustomDrawToThisCanvas ( Canvas canvas, Rectangle updateArea ) : void
DirectSetLocation ( RenderElement visualElement, int x, int y ) : void
DirectSetSize ( RenderElement visualElement, int width, int height ) : void
DrawToThisCanvas ( Canvas canvas, Rectangle updateArea ) : void
FindUnderlyingSiblingAtPoint ( Point point ) : RenderElement
GetController ( ) : object
GetGlobalLocation ( ) : Point
GetTopWindowRenderBox ( ) : RenderElement
HitTestCore ( HitChain hitChain ) : bool
IntersectOnHorizontalWith ( Rectangle &r ) : bool

no rect change

IntersectsWith ( Rectangle &r ) : bool

no rect change

InvalidateGraphicBounds ( ) : void
InvalidateGraphicBounds ( Rectangle totalBounds ) : void
InvalidateGraphicLocalArea ( RenderElement re, Rectangle localArea ) : void
InvalidateGraphics ( ) : bool
MarkValidContentArrangement ( ) : void
RemoveChild ( RenderElement renderE ) : void
RemoveParentLink ( RenderElement childElement ) : void
RenderElement ( RootGraphic rootGfx, int width, int height ) : System
ResetRootGraphics ( RootGraphic rootgfx ) : void
SetBounds ( int left, int top, int width, int height ) : void
SetController ( object controller ) : void
SetHeight ( int height ) : void
SetLocation ( int left, int top ) : void
SetParentLink ( RenderElement childElement, IParentLink parentLink ) : void
SetSize ( int width, int height ) : void
SetViewport ( int viewportX, int viewportY ) : void
SetVisible ( bool value ) : void
SetWidth ( int width ) : void
ToString ( ) : string
TopDownReCalculateContentSize ( ) : void
dbugGetGlobalRect ( ) : Rectangle
dbugShowRenderPart ( Canvas canvasPage, Rectangle updateArea ) : void
dbug_DumpVisualProps ( dbugLayoutMsgWriter writer ) : void
dbug_EndLayoutTrace ( ) : void
dbug_EnterReArrangeContent ( RenderElement v ) : void
dbug_ExitReArrangeContent ( RenderElement ve ) : void
dbug_ExitTopDownReCalculateContent ( RenderElement v ) : void
dbug_FullElementDescription ( ) : string
dbug_GetBoundInfo ( ) : string
dbug_GetLayoutInfo ( ) : string
dbug_SetFixedElementCode ( string staticElementCode ) : void
dbug_SetInitObject ( RenderElement ve ) : void
dbug_StartLayoutTrace ( dbugVisualElementLayoutMsg m ) : void
dbug_StartLayoutTrace ( dbugVisualElementLayoutMsg m, int i ) : void
dbug_WriteOwnerLayerInfo ( RootGraphic visualroot, int i ) : void
dbug_WriteOwnerLineInfo ( RootGraphic visualroot, int i ) : void
debug_RecordPostDrawInfo ( Canvas canvasPage ) : void

Protected Methods

Method Description
DirectSetRootGraphics ( RenderElement r, RootGraphic rootgfx ) : void
MarkHasValidCalculateSize ( ) : void
SetCalculatedSize ( RenderBoxBase v, int w, int h ) : void
_MayHasOverlapChild ( ) : bool
dbug_EnterTopDownReCalculateContent ( RenderElement v ) : void
dbug_ExitReArrangeContent ( ) : void
dbug_WriteInfo ( dbugVisitorMessage m ) : void
debug_PopTopDownElement ( RenderElement ve ) : void
debug_PushTopDownElement ( RenderElement ve ) : void

Private Methods

Method Description
GetGlobalLocationStatic ( RenderElement re ) : Point
GetLayoutSpecificDimensionType ( RenderElement visualElement ) : int
IParentLink ( RenderElement afterThisChild, Point point ) : RenderElement
IParentLink ( ) : string
IParentLink ( Point &p ) : void
RootInvalidateGraphicArea ( RenderElement re, Rectangle &rect ) : void
dbugGetLayoutTracer ( ) : dbugVisualLayoutTracer

Method Details

AddChild() public method

public AddChild ( RenderElement renderE ) : void
renderE RenderElement
return void

ChildrenHitTestCore() public method

public ChildrenHitTestCore ( HitChain hitChain ) : void
hitChain HitChain
return void

ClearAllChildren() public method

public ClearAllChildren ( ) : void
return void

ContainPoint() public method

public ContainPoint ( int x, int y ) : bool
x int
y int
return bool

ContainRect() public method

public ContainRect ( Rectangle r ) : bool
r Rectangle
return bool

ContainRect() public method

public ContainRect ( int x, int y, int width, int height ) : bool
x int
y int
width int
height int
return bool

Contains() public method

public Contains ( Point testPoint ) : bool
testPoint Point
return bool

CustomDrawToThisCanvas() public abstract method

public abstract CustomDrawToThisCanvas ( Canvas canvas, Rectangle updateArea ) : void
canvas Canvas
updateArea Rectangle
return void

DirectSetLocation() public static method

public static DirectSetLocation ( RenderElement visualElement, int x, int y ) : void
visualElement RenderElement
x int
y int
return void

DirectSetRootGraphics() protected static method

protected static DirectSetRootGraphics ( RenderElement r, RootGraphic rootgfx ) : void
r RenderElement
rootgfx RootGraphic
return void

DirectSetSize() public static method

public static DirectSetSize ( RenderElement visualElement, int width, int height ) : void
visualElement RenderElement
width int
height int
return void

DrawToThisCanvas() public method

public DrawToThisCanvas ( Canvas canvas, Rectangle updateArea ) : void
canvas Canvas
updateArea Rectangle
return void

FindUnderlyingSiblingAtPoint() public method

public FindUnderlyingSiblingAtPoint ( Point point ) : RenderElement
point Point
return RenderElement

GetController() public method

public GetController ( ) : object
return object

GetGlobalLocation() public method

public GetGlobalLocation ( ) : Point
return Point

GetTopWindowRenderBox() public method

public GetTopWindowRenderBox ( ) : RenderElement
return RenderElement

HitTestCore() public method

public HitTestCore ( HitChain hitChain ) : bool
hitChain HitChain
return bool

IntersectOnHorizontalWith() public method

no rect change
public IntersectOnHorizontalWith ( Rectangle &r ) : bool
r Rectangle
return bool

IntersectsWith() public method

no rect change
public IntersectsWith ( Rectangle &r ) : bool
r Rectangle
return bool

InvalidateGraphicBounds() public method

public InvalidateGraphicBounds ( ) : void
return void

InvalidateGraphicBounds() public method

public InvalidateGraphicBounds ( Rectangle totalBounds ) : void
totalBounds Rectangle
return void

InvalidateGraphicLocalArea() public static method

public static InvalidateGraphicLocalArea ( RenderElement re, Rectangle localArea ) : void
re RenderElement
localArea Rectangle
return void

InvalidateGraphics() public method

public InvalidateGraphics ( ) : bool
return bool

MarkHasValidCalculateSize() protected method

protected MarkHasValidCalculateSize ( ) : void
return void

MarkValidContentArrangement() public method

public MarkValidContentArrangement ( ) : void
return void

RemoveChild() public method

public RemoveChild ( RenderElement renderE ) : void
renderE RenderElement
return void

RemoveParentLink() public static method

public static RemoveParentLink ( RenderElement childElement ) : void
childElement RenderElement
return void

RenderElement() public method

public RenderElement ( RootGraphic rootGfx, int width, int height ) : System
rootGfx RootGraphic
width int
height int
return System

ResetRootGraphics() public abstract method

public abstract ResetRootGraphics ( RootGraphic rootgfx ) : void
rootgfx RootGraphic
return void

SetBounds() public method

public SetBounds ( int left, int top, int width, int height ) : void
left int
top int
width int
height int
return void

SetCalculatedSize() protected static method

protected static SetCalculatedSize ( RenderBoxBase v, int w, int h ) : void
v RenderBoxBase
w int
h int
return void

SetController() public method

public SetController ( object controller ) : void
controller object
return void

SetHeight() public method

public SetHeight ( int height ) : void
height int
return void

SetLocation() public method

public SetLocation ( int left, int top ) : void
left int
top int
return void

SetParentLink() public static method

public static SetParentLink ( RenderElement childElement, IParentLink parentLink ) : void
childElement RenderElement
parentLink IParentLink
return void

SetSize() public method

public SetSize ( int width, int height ) : void
width int
height int
return void

SetViewport() public method

public SetViewport ( int viewportX, int viewportY ) : void
viewportX int
viewportY int
return void

SetVisible() public method

public SetVisible ( bool value ) : void
value bool
return void

SetWidth() public method

public SetWidth ( int width ) : void
width int
return void

ToString() public method

public ToString ( ) : string
return string

TopDownReCalculateContentSize() public method

public TopDownReCalculateContentSize ( ) : void
return void

_MayHasOverlapChild() protected method

protected _MayHasOverlapChild ( ) : bool
return bool

dbugGetGlobalRect() public method

public dbugGetGlobalRect ( ) : Rectangle
return Rectangle

dbugShowRenderPart() public method

public dbugShowRenderPart ( Canvas canvasPage, Rectangle updateArea ) : void
canvasPage Canvas
updateArea Rectangle
return void

dbug_DumpVisualProps() public method

public dbug_DumpVisualProps ( dbugLayoutMsgWriter writer ) : void
writer dbugLayoutMsgWriter
return void

dbug_EndLayoutTrace() public static method

public static dbug_EndLayoutTrace ( ) : void
return void

dbug_EnterReArrangeContent() public static method

public static dbug_EnterReArrangeContent ( RenderElement v ) : void
v RenderElement
return void

dbug_EnterTopDownReCalculateContent() protected static method

protected static dbug_EnterTopDownReCalculateContent ( RenderElement v ) : void
v RenderElement
return void

dbug_ExitReArrangeContent() protected static method

protected static dbug_ExitReArrangeContent ( ) : void
return void

dbug_ExitReArrangeContent() public static method

public static dbug_ExitReArrangeContent ( RenderElement ve ) : void
ve RenderElement
return void

dbug_ExitTopDownReCalculateContent() public static method

public static dbug_ExitTopDownReCalculateContent ( RenderElement v ) : void
v RenderElement
return void

dbug_FullElementDescription() public method

public dbug_FullElementDescription ( ) : string
return string

dbug_GetBoundInfo() public method

public dbug_GetBoundInfo ( ) : string
return string

dbug_GetLayoutInfo() public method

public dbug_GetLayoutInfo ( ) : string
return string

dbug_SetFixedElementCode() public method

public dbug_SetFixedElementCode ( string staticElementCode ) : void
staticElementCode string
return void

dbug_SetInitObject() public static method

public static dbug_SetInitObject ( RenderElement ve ) : void
ve RenderElement
return void

dbug_StartLayoutTrace() public static method

public static dbug_StartLayoutTrace ( dbugVisualElementLayoutMsg m ) : void
m dbugVisualElementLayoutMsg
return void

dbug_StartLayoutTrace() public static method

public static dbug_StartLayoutTrace ( dbugVisualElementLayoutMsg m, int i ) : void
m dbugVisualElementLayoutMsg
i int
return void

dbug_WriteInfo() protected static method

protected static dbug_WriteInfo ( dbugVisitorMessage m ) : void
m dbugVisitorMessage
return void

dbug_WriteOwnerLayerInfo() public method

public dbug_WriteOwnerLayerInfo ( RootGraphic visualroot, int i ) : void
visualroot RootGraphic
i int
return void

dbug_WriteOwnerLineInfo() public method

public dbug_WriteOwnerLineInfo ( RootGraphic visualroot, int i ) : void
visualroot RootGraphic
i int
return void

debug_PopTopDownElement() protected static method

protected static debug_PopTopDownElement ( RenderElement ve ) : void
ve RenderElement
return void

debug_PushTopDownElement() protected static method

protected static debug_PushTopDownElement ( RenderElement ve ) : void
ve RenderElement
return void

debug_RecordPostDrawInfo() public method

public debug_RecordPostDrawInfo ( Canvas canvasPage ) : void
canvasPage Canvas
return void

Property Details

dbug_BeginArr public_oe property

public int dbug_BeginArr
return int

dbug_FinishArr public_oe property

public int dbug_FinishArr
return int

dbug_FixedElementCode public_oe property

public string dbug_FixedElementCode
return string

dbug_InvalidateContentArrEpisode public_oe property

public int dbug_InvalidateContentArrEpisode
return int

dbug_InvalidateRecalculateSizeEpisode public_oe property

public int dbug_InvalidateRecalculateSizeEpisode
return int

dbug_ObjectNote public_oe property

public string dbug_ObjectNote
return string

dbug_ValidateContentArrEpisode public_oe property

public int dbug_ValidateContentArrEpisode
return int

dbug_ValidateRecalculateSizeEpisode public_oe property

public int dbug_ValidateRecalculateSizeEpisode
return int

dbug_element_code_y public_oe property

public int dbug_element_code_y
return int

dbug_hide_objIden public_oe property

public bool dbug_hide_objIden
return bool

dbug_obj_id public_oe property

public int dbug_obj_id
return int

dbug_totalInvalidateContentArrEpisode public_oe static_oe property

public static int dbug_totalInvalidateContentArrEpisode
return int