C# 클래스 SadConsole.Consoles.TextSurfaceRenderer

상속: ITextSurfaceRenderer
파일 보기 프로젝트 열기: Thraka/SadConsole 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CallBatchEnd bool

공개 메소드들

메소드 설명
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 a surface to the screen.

Render ( ITextSurfaceRendered surface, Point position, bool usePixelPositioning = false ) : void

Renders a surface to the screen.

TextSurfaceRenderer ( ) : System

Creates a new renderer.

비공개 메소드들

메소드 설명
AfterDeserialized ( StreamingContext context ) : void

메소드 상세

GetPositionTransform() 공개 메소드

Gets the Matrix transform that positions the console on the screen.
public GetPositionTransform ( Point position, Point CellSize, bool absolutePositioning ) : Matrix
position Point
CellSize Point
absolutePositioning bool
리턴 Matrix

Render() 공개 메소드

Renders a surface to the screen.
public Render ( ITextSurfaceRendered surface, Matrix renderingMatrix ) : void
surface ITextSurfaceRendered The surface to render.
renderingMatrix Matrix Display matrix for the rendered console.
리턴 void

Render() 공개 메소드

Renders a surface to the screen.
public Render ( ITextSurfaceRendered surface, Point position, bool usePixelPositioning = false ) : void
surface ITextSurfaceRendered The surface to render.
position Point Calculates the rendering position on the screen based on the size of the parameter.
usePixelPositioning bool Ignores the font for positioning and instead treats the parameter in pixels.
리턴 void

TextSurfaceRenderer() 공개 메소드

Creates a new renderer.
public TextSurfaceRenderer ( ) : System
리턴 System

프로퍼티 상세

CallBatchEnd 공개적으로 프로퍼티

public bool CallBatchEnd
리턴 bool