C# 클래스 SadConsole.Font

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

Private Properties

프로퍼티 타입 설명
AfterDeserialized void
Font System
Font System
Initialize void

공개 메소드들

메소드 설명
GetRenderRect ( int x, int y ) : Rectangle
ResizeGraphicsDeviceManager ( GraphicsDeviceManager manager, int width, int height, int additionalWidth, int additionalHeight ) : void

Resizes the graphics device manager based on this font's glyph size.

비공개 메소드들

메소드 설명
AfterDeserialized ( System context ) : void
Font ( ) : System
Font ( FontMaster masterFont, FontSizes fontMultiple ) : System
Initialize ( FontMaster masterFont, FontSizes fontMultiple ) : void

메소드 상세

GetRenderRect() 공개 메소드

public GetRenderRect ( int x, int y ) : Rectangle
x int
y int
리턴 Microsoft.Xna.Framework.Rectangle

ResizeGraphicsDeviceManager() 공개 메소드

Resizes the graphics device manager based on this font's glyph size.
public ResizeGraphicsDeviceManager ( GraphicsDeviceManager manager, int width, int height, int additionalWidth, int additionalHeight ) : void
manager GraphicsDeviceManager Graphics device manager to resize.
width int The width glyphs.
height int The height glyphs.
additionalWidth int Additional pixel width to add to the resize.
additionalHeight int Additional pixel height to add to the resize.
리턴 void