C# Class Sharplike.Core.Rendering.DisplayTile

A single tile in the render window. Should never be created by an end user (but there may be edge cases that make it necessary).
ファイルを表示 Open project: eropple/sharplike Class Usage Examples

Public Methods

Method Description
MakeRenderDirty ( ) : void

Signals to the tile that it should be repainted even if it has not changed since the last repaint.

Generally should only be used through Window.Invalidate().

MakeStackDirty ( ) : void

Signals to the tile that it should rebuild it's RegionTile stack.

Generally should only be used through Window.Invalidate().

MarkRenderClean ( ) : void

Signals to the tile that it shall be considered non-dirty until the tile is again updated.

Should only be called by the renderer, but maybe there's a case for an end user to call it, I don't know.

MarkStackClean ( ) : void

Signals to the tile that it's stack is now clean.

Private Methods

Method Description
DisplayTile ( GlyphPalette p, AbstractRegion root, Point loc ) : System

Constructor.

RebuildRegionTiles ( ) : void

Rebuilds our cached list of regiontiles that affect this displaytile

Method Details

MakeRenderDirty() public method

Signals to the tile that it should be repainted even if it has not changed since the last repaint.
Generally should only be used through Window.Invalidate().
public MakeRenderDirty ( ) : void
return void

MakeStackDirty() public method

Signals to the tile that it should rebuild it's RegionTile stack.
Generally should only be used through Window.Invalidate().
public MakeStackDirty ( ) : void
return void

MarkRenderClean() public method

Signals to the tile that it shall be considered non-dirty until the tile is again updated.
Should only be called by the renderer, but maybe there's a case for an end user to call it, I don't know.
public MarkRenderClean ( ) : void
return void

MarkStackClean() public method

Signals to the tile that it's stack is now clean.
public MarkStackClean ( ) : void
return void