메소드 | 설명 | |
---|---|---|
CachedTextSurfaceRenderer ( ITextSurfaceRendered source ) : System |
Creates a new renderer.
|
|
GetPositionTransform ( Point position, Point CellSize, bool absolutePositioning ) : Matrix |
Gets the Matrix transform that positions the console on the screen.
|
|
Render ( ITextSurfaceRendered surface, Matrix renderingMatrix ) : void |
Renders the cached surface from a previous call to the constructor or the Update(ITextSurfaceRendered) method.
|
|
Render ( ITextSurfaceRendered surface, Point position, bool usePixelPositioning = false ) : void |
Renders the cached surface from a previous call to the constructor or the Update(ITextSurfaceRendered) method.
|
|
Update ( ITextSurfaceRendered source ) : void |
Updates the cache based on the source surface.
|
public CachedTextSurfaceRenderer ( ITextSurfaceRendered source ) : System | ||
source | ITextSurfaceRendered | |
리턴 | System |
public GetPositionTransform ( Point position, Point CellSize, bool absolutePositioning ) : Matrix | ||
position | Point | |
CellSize | Point | |
absolutePositioning | bool | |
리턴 | Matrix |
public Render ( ITextSurfaceRendered surface, Matrix renderingMatrix ) : void | ||
surface | ITextSurfaceRendered | Used only for tinting. |
renderingMatrix | Matrix | Display matrix for the rendered console. |
리턴 | void |
public Render ( ITextSurfaceRendered surface, Point position, bool usePixelPositioning = false ) : void | ||
surface | ITextSurfaceRendered | Only used for tinting and calculation the position from the font. |
position | Point | Calculates the rendering position on the screen based on the size of the |
usePixelPositioning | bool | Ignores the |
리턴 | void |
public Update ( ITextSurfaceRendered source ) : void | ||
source | ITextSurfaceRendered | The surface to render and cache. |
리턴 | void |