C# 클래스 QuickFont.JTexture

파일 보기 프로젝트 열기: Pireax/neovim.cs 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( ) : void

Draw using JTexture blending settings (ordinary ones).

Draw ( System.Vector2 pos ) : void
Draw ( System.Vector2 pos, System.Vector2 scale ) : void
Draw ( System.Vector2 pos, float scale ) : void
DrawBasic ( ) : void

Draws the texture without changing any blending settings. Use this when you wish to set the blending settings yourself.

DrawBasic ( System.Vector2 pos ) : void
DrawBasic ( System.Vector2 pos, System.Vector2 scale ) : void
DrawBasic ( System.Vector2 pos, float scale ) : void
DrawBasicCentred ( ) : void
DrawBasicCentred ( System.Vector2 pos, System.Vector2 scale, float ang ) : void
DrawCentred ( ) : void

Draw using JTexture blending settings (ordinary ones).

Free ( ) : void
JTexture ( ) : System
JTexture ( JBitmap jbitmap, bool alpha ) : System
JTexture ( JBitmap jbitmap, bool alpha, bool padToPowerOfTwo ) : System
JTexture ( JTexture parent, float topLeftX, float topLeftY, float width, float height, bool alpha ) : System

Constructs a JTexture from a parent texture

JTexture ( String fileName, bool alpha ) : System
JTexture ( String fileName, bool alpha, bool padToPowerOfTwo ) : System
JTexture ( int GLTex, float width, float height, bool alpha ) : System

Construct a JTexture when the GLTexture already exists. texW and texH are the actual dimensions of the given opengl texture (usually pots). Width and height are always less than or equal to texW and texH respectively, and are the part of the texture to be used starting in the bottom left corner.

SetDrawSize ( float width, float height ) : void

비공개 메소드들

메소드 설명
JTextureConstructorHelper ( BitmapData dataSource, bool alpha, bool padToPowerOfTwo ) : void

메소드 상세

Draw() 공개 메소드

Draw using JTexture blending settings (ordinary ones).
public Draw ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( System.Vector2 pos ) : void
pos System.Vector2
리턴 void

Draw() 공개 메소드

public Draw ( System.Vector2 pos, System.Vector2 scale ) : void
pos System.Vector2
scale System.Vector2
리턴 void

Draw() 공개 메소드

public Draw ( System.Vector2 pos, float scale ) : void
pos System.Vector2
scale float
리턴 void

DrawBasic() 공개 메소드

Draws the texture without changing any blending settings. Use this when you wish to set the blending settings yourself.
public DrawBasic ( ) : void
리턴 void

DrawBasic() 공개 메소드

public DrawBasic ( System.Vector2 pos ) : void
pos System.Vector2
리턴 void

DrawBasic() 공개 메소드

public DrawBasic ( System.Vector2 pos, System.Vector2 scale ) : void
pos System.Vector2
scale System.Vector2
리턴 void

DrawBasic() 공개 메소드

public DrawBasic ( System.Vector2 pos, float scale ) : void
pos System.Vector2
scale float
리턴 void

DrawBasicCentred() 공개 메소드

public DrawBasicCentred ( ) : void
리턴 void

DrawBasicCentred() 공개 메소드

public DrawBasicCentred ( System.Vector2 pos, System.Vector2 scale, float ang ) : void
pos System.Vector2
scale System.Vector2
ang float
리턴 void

DrawCentred() 공개 메소드

Draw using JTexture blending settings (ordinary ones).
public DrawCentred ( ) : void
리턴 void

Free() 공개 메소드

public Free ( ) : void
리턴 void

JTexture() 공개 메소드

public JTexture ( ) : System
리턴 System

JTexture() 공개 메소드

public JTexture ( JBitmap jbitmap, bool alpha ) : System
jbitmap JBitmap
alpha bool
리턴 System

JTexture() 공개 메소드

public JTexture ( JBitmap jbitmap, bool alpha, bool padToPowerOfTwo ) : System
jbitmap JBitmap
alpha bool
padToPowerOfTwo bool
리턴 System

JTexture() 공개 메소드

Constructs a JTexture from a parent texture
public JTexture ( JTexture parent, float topLeftX, float topLeftY, float width, float height, bool alpha ) : System
parent JTexture
topLeftX float
topLeftY float
width float
height float
alpha bool
리턴 System

JTexture() 공개 메소드

public JTexture ( String fileName, bool alpha ) : System
fileName String
alpha bool
리턴 System

JTexture() 공개 메소드

public JTexture ( String fileName, bool alpha, bool padToPowerOfTwo ) : System
fileName String
alpha bool
padToPowerOfTwo bool
리턴 System

JTexture() 공개 메소드

Construct a JTexture when the GLTexture already exists. texW and texH are the actual dimensions of the given opengl texture (usually pots). Width and height are always less than or equal to texW and texH respectively, and are the part of the texture to be used starting in the bottom left corner.
public JTexture ( int GLTex, float width, float height, bool alpha ) : System
GLTex int
width float
height float
alpha bool
리턴 System

SetDrawSize() 공개 메소드

public SetDrawSize ( float width, float height ) : void
width float
height float
리턴 void