C# Class LayoutFarm.RootGraphic

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

Public Properties

Property Type Description
dbugCurrentGlobalVRoot RootGraphic
dbugEnableGraphicInvalidateTrace bool
dbugEnableLayoutProfiler bool
dbugEvalScrollBarTracer dbugVisualEvalScrollBarTrace
dbugEventIsDragging bool
dbugGraphicInvalidateTracer dbugVisualInvalidationTracer
dbugHitTracker dbugHitTestTracker
dbugInvalidateTracerStack Stack
dbugLayoutProfilerWriter System.IO.StreamWriter
dbugMsg_ADD_TO_LAYOUT_QUEUE dbugVisualRootMsg
dbugMsg_BGN_Line_AddNormalRunToLast dbugVisualRootMsg
dbugMsg_BLOCKED dbugVisualRootMsg
dbugMsg_CLEAR_LAYOUT_enter dbugVisualRootMsg
dbugMsg_CLEAR_LAYOUT_exit dbugVisualRootMsg
dbugMsg_E_CHILD_LAYOUT_INV_BUB_enter dbugVisualRootMsg
dbugMsg_E_CHILD_LAYOUT_INV_BUB_exit dbugVisualRootMsg
dbugMsg_E_LAYOUT_INV_BUB_FIRST_enter dbugVisualRootMsg
dbugMsg_E_LAYOUT_INV_BUB_FIRST_exit dbugVisualRootMsg
dbugMsg_FSH_Line_AddNormalRunToLast dbugVisualRootMsg
dbugMsg_LAYER_OWNER_ALREADY_IN_ARR_Q dbugVisualRootMsg
dbugMsg_L_LAYOUT_INV_BUB_enter dbugVisualRootMsg
dbugMsg_L_LAYOUT_INV_BUB_exit dbugVisualRootMsg
dbugMsg_NOT_BUBBLE_UP_HAS_SPECIFIC_SIZE dbugVisualRootMsg
dbugMsg_NOT_BUBBLE_UP_IS_SCROLLABLE dbugVisualRootMsg
dbugMsg_NO_OWNER_LAY dbugVisualRootMsg
dbugMsg_NO_PARENT dbugVisualRootMsg
dbugMsg_PARENT_NOTTIFY_BOUND_CHAGED dbugVisualRootMsg
dbugMsg_VisualElementLine_INVALIDATE_enter dbugVisualRootMsg
dbugMsg_VisualElementLine_INVALIDATE_exit dbugVisualRootMsg
dbugMsg_VisualElementLine_OwnerFlowElementIsIn_SUSPEND_MODE_enter dbugVisualRootMsg
dbugMsg_line_sep dbugVisualRootMsg
dbugMsg_tto dbugVisualRootMsg
dbugNotNeedArrCount int
dbugNotNeedArrCountEpisode int
dbug_ForceShowObjectIden bool
dbug_RecordDrawingChain bool
dbug_RecordHitChain bool
dbug_RootUpdateCounter int
dbug_ShowElementOutline bool
dbug_ShowNativeScrollableElementDrawToThisPage bool
dbug_ShowNativeScrollableElementUpdateArea bool
dbug_ShowObjectIden bool
dbug_ShowRootUpdateArea bool
dbug_StartTestMode bool
dbug_drawLevel int
dbug_rootDrawingMsg LinkedList
dbug_rootHitChainMsg LinkedList

Protected Properties

Property Type Description
paintToOutputWindowHandler PaintToOutputWindowDelegate

Private Properties

Property Type Description
dbugGetFormatTickCount string

Public Methods

Method Description
AddToElementUpdateQueue ( object requestBy ) : void
AddToLayoutQueue ( RenderElement renderElement ) : void
AddToUpdateQueue ( object toupdateObj ) : void
CaretStartBlink ( ) : void
CaretStopBlink ( ) : void
ClearRenderRequests ( ) : void
CloseWinRoot ( ) : void
CreateNewOne ( int w, int h ) : RootGraphic

create new root graphics based on the same platform

FlushAccumGraphics ( ) : void
InvalidateGraphicArea ( RenderElement fromElement, Rectangle &elemClientRect ) : void
PrepareRender ( ) : void
RemoveIntervalTask ( object uniqueName ) : void
RootGraphic ( int width, int heigth ) : System
SetCurrentKeyboardFocus ( RenderElement renderElement ) : void
SetPaintDelegates ( CanvasInvalidateDelegate canvasPaintToOutput, PaintToOutputWindowDelegate paintToOutputHandler ) : void
SubscribeGraphicsIntervalTask ( object uniqueName, TaskIntervalPlan planName, int intervalMs, EventHandler tickhandler ) : GraphicsTimerTask
dbugGetVisualInvalidateTracer ( ) : dbugVisualInvalidationTracer
dbugWriteStopGfxBubbleUp ( RenderElement fromElement, int &dbug_ncount, int nleftOnStack, string state_str ) : void
dbug_AddDrawElement ( RenderElement visualElement, Canvas currentCanvas ) : void
dbug_AddDrawElement ( RenderElement visualElement, Canvas currentCanvas, string additionalMsg ) : void
dbug_AddDrawLayer ( RenderElementLayer layer ) : void
dbug_AddMessage ( dbugLayoutMsg msg ) : void
dbug_BeginLayoutTraceSession ( string beginMsg ) : void
dbug_BeginVisualInvalidateTrace ( string strmsg ) : void
dbug_DisableAllDebugInfo ( ) : void
dbug_DumpCurrentHitChain ( List outputlist ) : void
dbug_DumpRootDrawingMsg ( List outputlist ) : void
dbug_EnableAllDebugInfo ( ) : void
dbug_EndVisualInvalidateTrace ( ) : void
dbug_FinishLayoutTraceSession ( ) : void
dbug_FlushLayoutTraceMessage ( ) : void
dbug_GetElementById ( object id ) : RenderElement
dbug_GetLastestVisualLayoutTracer ( ) : dbugVisualLayoutTracer
dbug_Init ( System hitTestTrackerDebugStreamWriter, System layoutTraceFileStream, System visualInvaldateStreamWriter ) : void
dbug_LayoutTraceBeginContext ( dbugVisualRootMsg msg, RenderElement ve ) : void
dbug_LayoutTraceEndContext ( dbugVisualRootMsg msg, RenderElement ve ) : void
dbug_PushInvalidateMsg ( dbugVisualRootMsg msg, RenderElement ve ) : void
dbug_PushLayoutTraceMessage ( dbugVisualRootMsg msg ) : void
dbug_PushLayoutTraceMessage ( dbugVisualRootMsg msg, RenderElement ve ) : void
dbug_PushLayoutTraceMessage ( dbugVisualRootMsg msg, RenderElementLayer layer ) : void
dbug_PushLayoutTraceMessage ( dbugVisualRootMsg msg, int number ) : void
dbug_PushLayoutTraceMessage ( string str ) : void
dbug_WriteTick ( long tick ) : void

Private Methods

Method Description
dbugGetFormatTickCount ( long tickCount ) : string

Method Details

AddToElementUpdateQueue() public abstract method

public abstract AddToElementUpdateQueue ( object requestBy ) : void
requestBy object
return void

AddToLayoutQueue() public abstract method

public abstract AddToLayoutQueue ( RenderElement renderElement ) : void
renderElement RenderElement
return void

AddToUpdateQueue() public abstract method

public abstract AddToUpdateQueue ( object toupdateObj ) : void
toupdateObj object
return void

CaretStartBlink() public abstract method

public abstract CaretStartBlink ( ) : void
return void

CaretStopBlink() public abstract method

public abstract CaretStopBlink ( ) : void
return void

ClearRenderRequests() public abstract method

public abstract ClearRenderRequests ( ) : void
return void

CloseWinRoot() public abstract method

public abstract CloseWinRoot ( ) : void
return void

CreateNewOne() public abstract method

create new root graphics based on the same platform
public abstract CreateNewOne ( int w, int h ) : RootGraphic
w int
h int
return RootGraphic

FlushAccumGraphics() public method

public FlushAccumGraphics ( ) : void
return void

InvalidateGraphicArea() public method

public InvalidateGraphicArea ( RenderElement fromElement, Rectangle &elemClientRect ) : void
fromElement RenderElement
elemClientRect PixelFarm.Drawing.Rectangle
return void

PrepareRender() public abstract method

public abstract PrepareRender ( ) : void
return void

RemoveIntervalTask() public abstract method

public abstract RemoveIntervalTask ( object uniqueName ) : void
uniqueName object
return void

RootGraphic() public method

public RootGraphic ( int width, int heigth ) : System
width int
heigth int
return System

SetCurrentKeyboardFocus() public abstract method

public abstract SetCurrentKeyboardFocus ( RenderElement renderElement ) : void
renderElement RenderElement
return void

SetPaintDelegates() public method

public SetPaintDelegates ( CanvasInvalidateDelegate canvasPaintToOutput, PaintToOutputWindowDelegate paintToOutputHandler ) : void
canvasPaintToOutput CanvasInvalidateDelegate
paintToOutputHandler PaintToOutputWindowDelegate
return void

SubscribeGraphicsIntervalTask() public abstract method

public abstract SubscribeGraphicsIntervalTask ( object uniqueName, TaskIntervalPlan planName, int intervalMs, EventHandler tickhandler ) : GraphicsTimerTask
uniqueName object
planName TaskIntervalPlan
intervalMs int
tickhandler EventHandler
return LayoutFarm.RenderBoxes.GraphicsTimerTask

dbugGetVisualInvalidateTracer() public method

public dbugGetVisualInvalidateTracer ( ) : dbugVisualInvalidationTracer
return dbugVisualInvalidationTracer

dbugWriteStopGfxBubbleUp() public method

public dbugWriteStopGfxBubbleUp ( RenderElement fromElement, int &dbug_ncount, int nleftOnStack, string state_str ) : void
fromElement RenderElement
dbug_ncount int
nleftOnStack int
state_str string
return void

dbug_AddDrawElement() public method

public dbug_AddDrawElement ( RenderElement visualElement, Canvas currentCanvas ) : void
visualElement RenderElement
currentCanvas PixelFarm.Drawing.Canvas
return void

dbug_AddDrawElement() public method

public dbug_AddDrawElement ( RenderElement visualElement, Canvas currentCanvas, string additionalMsg ) : void
visualElement RenderElement
currentCanvas PixelFarm.Drawing.Canvas
additionalMsg string
return void

dbug_AddDrawLayer() public method

public dbug_AddDrawLayer ( RenderElementLayer layer ) : void
layer LayoutFarm.RenderBoxes.RenderElementLayer
return void

dbug_AddMessage() public method

public dbug_AddMessage ( dbugLayoutMsg msg ) : void
msg dbugLayoutMsg
return void

dbug_BeginLayoutTraceSession() public method

public dbug_BeginLayoutTraceSession ( string beginMsg ) : void
beginMsg string
return void

dbug_BeginVisualInvalidateTrace() public method

public dbug_BeginVisualInvalidateTrace ( string strmsg ) : void
strmsg string
return void

dbug_DisableAllDebugInfo() public method

public dbug_DisableAllDebugInfo ( ) : void
return void

dbug_DumpCurrentHitChain() public method

public dbug_DumpCurrentHitChain ( List outputlist ) : void
outputlist List
return void

dbug_DumpRootDrawingMsg() public method

public dbug_DumpRootDrawingMsg ( List outputlist ) : void
outputlist List
return void

dbug_EnableAllDebugInfo() public method

public dbug_EnableAllDebugInfo ( ) : void
return void

dbug_EndVisualInvalidateTrace() public method

public dbug_EndVisualInvalidateTrace ( ) : void
return void

dbug_FinishLayoutTraceSession() public method

public dbug_FinishLayoutTraceSession ( ) : void
return void

dbug_FlushLayoutTraceMessage() public method

public dbug_FlushLayoutTraceMessage ( ) : void
return void

dbug_GetElementById() public method

public dbug_GetElementById ( object id ) : RenderElement
id object
return RenderElement

dbug_GetLastestVisualLayoutTracer() public method

public dbug_GetLastestVisualLayoutTracer ( ) : dbugVisualLayoutTracer
return dbugVisualLayoutTracer

dbug_Init() public method

public dbug_Init ( System hitTestTrackerDebugStreamWriter, System layoutTraceFileStream, System visualInvaldateStreamWriter ) : void
hitTestTrackerDebugStreamWriter System
layoutTraceFileStream System
visualInvaldateStreamWriter System
return void

dbug_LayoutTraceBeginContext() public method

public dbug_LayoutTraceBeginContext ( dbugVisualRootMsg msg, RenderElement ve ) : void
msg dbugVisualRootMsg
ve RenderElement
return void

dbug_LayoutTraceEndContext() public method

public dbug_LayoutTraceEndContext ( dbugVisualRootMsg msg, RenderElement ve ) : void
msg dbugVisualRootMsg
ve RenderElement
return void

dbug_PushInvalidateMsg() public method

public dbug_PushInvalidateMsg ( dbugVisualRootMsg msg, RenderElement ve ) : void
msg dbugVisualRootMsg
ve RenderElement
return void

dbug_PushLayoutTraceMessage() public method

public dbug_PushLayoutTraceMessage ( dbugVisualRootMsg msg ) : void
msg dbugVisualRootMsg
return void

dbug_PushLayoutTraceMessage() public method

public dbug_PushLayoutTraceMessage ( dbugVisualRootMsg msg, RenderElement ve ) : void
msg dbugVisualRootMsg
ve RenderElement
return void

dbug_PushLayoutTraceMessage() public method

public dbug_PushLayoutTraceMessage ( dbugVisualRootMsg msg, RenderElementLayer layer ) : void
msg dbugVisualRootMsg
layer LayoutFarm.RenderBoxes.RenderElementLayer
return void

dbug_PushLayoutTraceMessage() public method

public dbug_PushLayoutTraceMessage ( dbugVisualRootMsg msg, int number ) : void
msg dbugVisualRootMsg
number int
return void

dbug_PushLayoutTraceMessage() public method

public dbug_PushLayoutTraceMessage ( string str ) : void
str string
return void

dbug_WriteTick() public method

public dbug_WriteTick ( long tick ) : void
tick long
return void

Property Details

dbugCurrentGlobalVRoot public static property

public static RootGraphic,LayoutFarm dbugCurrentGlobalVRoot
return RootGraphic

dbugEnableGraphicInvalidateTrace public property

public bool dbugEnableGraphicInvalidateTrace
return bool

dbugEnableLayoutProfiler public property

public bool dbugEnableLayoutProfiler
return bool

dbugEvalScrollBarTracer public property

public dbugVisualEvalScrollBarTrace,LayoutFarm dbugEvalScrollBarTracer
return dbugVisualEvalScrollBarTrace

dbugEventIsDragging public property

public bool dbugEventIsDragging
return bool

dbugGraphicInvalidateTracer public property

public dbugVisualInvalidationTracer,LayoutFarm dbugGraphicInvalidateTracer
return dbugVisualInvalidationTracer

dbugHitTracker public property

public dbugHitTestTracker,LayoutFarm dbugHitTracker
return dbugHitTestTracker

dbugInvalidateTracerStack public property

public Stack dbugInvalidateTracerStack
return Stack

dbugLayoutProfilerWriter public property

public System.IO.StreamWriter dbugLayoutProfilerWriter
return System.IO.StreamWriter

dbugMsg_ADD_TO_LAYOUT_QUEUE public static property

public static dbugVisualRootMsg dbugMsg_ADD_TO_LAYOUT_QUEUE
return dbugVisualRootMsg

dbugMsg_BGN_Line_AddNormalRunToLast public static property

public static dbugVisualRootMsg dbugMsg_BGN_Line_AddNormalRunToLast
return dbugVisualRootMsg

dbugMsg_BLOCKED public static property

public static dbugVisualRootMsg dbugMsg_BLOCKED
return dbugVisualRootMsg

dbugMsg_CLEAR_LAYOUT_enter public static property

public static dbugVisualRootMsg dbugMsg_CLEAR_LAYOUT_enter
return dbugVisualRootMsg

dbugMsg_CLEAR_LAYOUT_exit public static property

public static dbugVisualRootMsg dbugMsg_CLEAR_LAYOUT_exit
return dbugVisualRootMsg

dbugMsg_E_CHILD_LAYOUT_INV_BUB_enter public static property

public static dbugVisualRootMsg dbugMsg_E_CHILD_LAYOUT_INV_BUB_enter
return dbugVisualRootMsg

dbugMsg_E_CHILD_LAYOUT_INV_BUB_exit public static property

public static dbugVisualRootMsg dbugMsg_E_CHILD_LAYOUT_INV_BUB_exit
return dbugVisualRootMsg

dbugMsg_E_LAYOUT_INV_BUB_FIRST_enter public static property

public static dbugVisualRootMsg dbugMsg_E_LAYOUT_INV_BUB_FIRST_enter
return dbugVisualRootMsg

dbugMsg_E_LAYOUT_INV_BUB_FIRST_exit public static property

public static dbugVisualRootMsg dbugMsg_E_LAYOUT_INV_BUB_FIRST_exit
return dbugVisualRootMsg

dbugMsg_FSH_Line_AddNormalRunToLast public static property

public static dbugVisualRootMsg dbugMsg_FSH_Line_AddNormalRunToLast
return dbugVisualRootMsg

dbugMsg_LAYER_OWNER_ALREADY_IN_ARR_Q public static property

public static dbugVisualRootMsg dbugMsg_LAYER_OWNER_ALREADY_IN_ARR_Q
return dbugVisualRootMsg

dbugMsg_L_LAYOUT_INV_BUB_enter public static property

public static dbugVisualRootMsg dbugMsg_L_LAYOUT_INV_BUB_enter
return dbugVisualRootMsg

dbugMsg_L_LAYOUT_INV_BUB_exit public static property

public static dbugVisualRootMsg dbugMsg_L_LAYOUT_INV_BUB_exit
return dbugVisualRootMsg

dbugMsg_NOT_BUBBLE_UP_HAS_SPECIFIC_SIZE public static property

public static dbugVisualRootMsg dbugMsg_NOT_BUBBLE_UP_HAS_SPECIFIC_SIZE
return dbugVisualRootMsg

dbugMsg_NOT_BUBBLE_UP_IS_SCROLLABLE public static property

public static dbugVisualRootMsg dbugMsg_NOT_BUBBLE_UP_IS_SCROLLABLE
return dbugVisualRootMsg

dbugMsg_NO_OWNER_LAY public static property

public static dbugVisualRootMsg dbugMsg_NO_OWNER_LAY
return dbugVisualRootMsg

dbugMsg_NO_PARENT public static property

public static dbugVisualRootMsg dbugMsg_NO_PARENT
return dbugVisualRootMsg

dbugMsg_PARENT_NOTTIFY_BOUND_CHAGED public static property

public static dbugVisualRootMsg dbugMsg_PARENT_NOTTIFY_BOUND_CHAGED
return dbugVisualRootMsg

dbugMsg_VisualElementLine_INVALIDATE_enter public static property

public static dbugVisualRootMsg dbugMsg_VisualElementLine_INVALIDATE_enter
return dbugVisualRootMsg

dbugMsg_VisualElementLine_INVALIDATE_exit public static property

public static dbugVisualRootMsg dbugMsg_VisualElementLine_INVALIDATE_exit
return dbugVisualRootMsg

dbugMsg_VisualElementLine_OwnerFlowElementIsIn_SUSPEND_MODE_enter public static property

public static dbugVisualRootMsg dbugMsg_VisualElementLine_OwnerFlowElementIsIn_SUSPEND_MODE_enter
return dbugVisualRootMsg

dbugMsg_line_sep public static property

public static dbugVisualRootMsg dbugMsg_line_sep
return dbugVisualRootMsg

dbugMsg_tto public static property

public static dbugVisualRootMsg dbugMsg_tto
return dbugVisualRootMsg

dbugNotNeedArrCount public property

public int dbugNotNeedArrCount
return int

dbugNotNeedArrCountEpisode public property

public int dbugNotNeedArrCountEpisode
return int

dbug_ForceShowObjectIden public property

public bool dbug_ForceShowObjectIden
return bool

dbug_RecordDrawingChain public property

public bool dbug_RecordDrawingChain
return bool

dbug_RecordHitChain public property

public bool dbug_RecordHitChain
return bool

dbug_RootUpdateCounter public property

public int dbug_RootUpdateCounter
return int

dbug_ShowElementOutline public property

public bool dbug_ShowElementOutline
return bool

dbug_ShowNativeScrollableElementDrawToThisPage public property

public bool dbug_ShowNativeScrollableElementDrawToThisPage
return bool

dbug_ShowNativeScrollableElementUpdateArea public property

public bool dbug_ShowNativeScrollableElementUpdateArea
return bool

dbug_ShowObjectIden public property

public bool dbug_ShowObjectIden
return bool

dbug_ShowRootUpdateArea public property

public bool dbug_ShowRootUpdateArea
return bool

dbug_StartTestMode public property

public bool dbug_StartTestMode
return bool

dbug_drawLevel public property

public int dbug_drawLevel
return int

dbug_rootDrawingMsg public property

public LinkedList dbug_rootDrawingMsg
return LinkedList

dbug_rootHitChainMsg public property

public LinkedList dbug_rootHitChainMsg
return LinkedList

paintToOutputWindowHandler protected property

protected PaintToOutputWindowDelegate paintToOutputWindowHandler
return PaintToOutputWindowDelegate