C# Class PsmFramework.Engines.DrawEngine2d.Drawables.DebugLabel

A text label class that draws strings using the hardcoded font data. DebugLabel is always drawn on top of every other Drawable in a special Render pass.
Inheritance: SpriteDrawableBase, IDebugInfo
Exibir arquivo Open project: artwallace/PsmFramework Class Usage Examples

Public Methods

Method Description
AddDebugInfoLine ( String name, Angle2 data ) : void
AddDebugInfoLine ( String name, Coordinate2 data ) : void
AddDebugInfoLine ( String name, Coordinate2i data ) : void
AddDebugInfoLine ( String name, Int32 data ) : void
AddDebugInfoLine ( String name, System.Int64 data ) : void
AddDebugInfoLine ( String name, RectangularArea2 data ) : void
AddDebugInfoLine ( String name, RectangularArea2i data ) : void
AddDebugInfoLine ( String name, System.Single data ) : void
AddDebugInfoLine ( String name, String data ) : void
CalcIfRefreshNeeded ( System.DateTime updateTime ) : void
ParentUpdated ( ) : void
RenderHelper ( ) : void

Protected Methods

Method Description
Cleanup ( ) : void
Initialize ( ) : void
RecalcBounds ( ) : void
RecalcHelper ( ) : void

Private Methods

Method Description
CleanupCharacterCoordinateCache ( ) : void
CleanupIDebugInfo ( ) : void
CleanupParent ( ) : void
CleanupText ( ) : void
ClearDebugInfo ( ) : void
ClearRenderRecacheRequired ( ) : void
ClearRenderTextRecalcRequired ( ) : void
CreateDebugLabel ( DrawEngine2d drawEngine2d, LayerType type, IDebuggable parent = null ) : DebugLabel
DebugLabel ( LayerBase layer, IDebuggable parent ) : System
GenerateRenderText ( ) : void
InitializeCharacterCoordinateCache ( ) : void
InitializeIDebugInfo ( ) : void
InitializeParent ( ) : void
InitializeText ( ) : void
RecalcRenderCache ( ) : void
SetParent ( IDebuggable parent ) : void
SetPositionFromParent ( ) : void
SetRenderRecacheRequired ( ) : void
SetRenderTextRecalcRequired ( ) : void

Method Details

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, Angle2 data ) : void
name String
data Angle2
return void

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, Coordinate2 data ) : void
name String
data Coordinate2
return void

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, Coordinate2i data ) : void
name String
data Coordinate2i
return void

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, Int32 data ) : void
name String
data System.Int32
return void

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, System.Int64 data ) : void
name String
data System.Int64
return void

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, RectangularArea2 data ) : void
name String
data RectangularArea2
return void

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, RectangularArea2i data ) : void
name String
data RectangularArea2i
return void

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, System.Single data ) : void
name String
data System.Single
return void

AddDebugInfoLine() public method

public AddDebugInfoLine ( String name, String data ) : void
name String
data String
return void

CalcIfRefreshNeeded() public method

public CalcIfRefreshNeeded ( System.DateTime updateTime ) : void
updateTime System.DateTime
return void

Cleanup() protected method

protected Cleanup ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

ParentUpdated() public method

public ParentUpdated ( ) : void
return void

RecalcBounds() protected method

protected RecalcBounds ( ) : void
return void

RecalcHelper() protected method

protected RecalcHelper ( ) : void
return void

RenderHelper() public method

public RenderHelper ( ) : void
return void