C# 클래스 QuickFont.QBitmap

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

공개 프로퍼티들

프로퍼티 타입 설명
bitmap System.Drawing.Bitmap
bitmapData System.Drawing.Imaging.BitmapData

공개 메소드들

메소드 설명
Blit ( BitmapData source, BitmapData target, Rectangle sourceRect, int px, int py ) : void

Blits from source to target. Both source and target must be 32-bit

Blit ( BitmapData source, BitmapData target, int srcPx, int srcPy, int srcW, int srcH, int destX, int destY ) : void

Blits from source to target. Both source and target must be 32-bit

BlitMask ( BitmapData source, BitmapData target, int srcPx, int srcPy, int srcW, int srcH, int px, int py ) : void

Blits a block of a bitmap data from source to destination, using the luminance of the source to determine the alpha of the target. Source must be 24-bit, target must be 32-bit.

BlurAlpha ( int radius, int passes ) : void
Clear32 ( byte r, byte g, byte b, byte a ) : void
Colour32 ( byte r, byte g, byte b ) : void

Sets colour without touching alpha values

DownScale32 ( int newWidth, int newHeight ) : void
EmptyAlphaPixel ( BitmapData bitmapData, int px, int py, byte alphaEmptyPixelTolerance ) : bool

Returns try if the given pixel is empty (i.e. alpha is zero)

EmptyPixel ( BitmapData bitmapData, int px, int py ) : bool

Returns try if the given pixel is empty (i.e. black)

Free ( ) : void
GetAlpha32 ( int px, int py, byte &a ) : void
GetPixel32 ( int px, int py, byte &r, byte &g, byte &b, byte &a ) : void
PutAlpha32 ( int px, int py, byte a ) : void
PutPixel32 ( int px, int py, byte r, byte g, byte b, byte a ) : void
QBitmap ( Bitmap bitmap ) : System
QBitmap ( string filePath ) : System

비공개 메소드들

메소드 설명
LockBits ( Bitmap bitmap ) : void

메소드 상세

Blit() 공개 정적인 메소드

Blits from source to target. Both source and target must be 32-bit
public static Blit ( BitmapData source, BitmapData target, Rectangle sourceRect, int px, int py ) : void
source System.Drawing.Imaging.BitmapData
target System.Drawing.Imaging.BitmapData
sourceRect System.Drawing.Rectangle
px int
py int
리턴 void

Blit() 공개 정적인 메소드

Blits from source to target. Both source and target must be 32-bit
public static Blit ( BitmapData source, BitmapData target, int srcPx, int srcPy, int srcW, int srcH, int destX, int destY ) : void
source System.Drawing.Imaging.BitmapData
target System.Drawing.Imaging.BitmapData
srcPx int
srcPy int
srcW int
srcH int
destX int
destY int
리턴 void

BlitMask() 공개 정적인 메소드

Blits a block of a bitmap data from source to destination, using the luminance of the source to determine the alpha of the target. Source must be 24-bit, target must be 32-bit.
public static BlitMask ( BitmapData source, BitmapData target, int srcPx, int srcPy, int srcW, int srcH, int px, int py ) : void
source System.Drawing.Imaging.BitmapData
target System.Drawing.Imaging.BitmapData
srcPx int
srcPy int
srcW int
srcH int
px int
py int
리턴 void

BlurAlpha() 공개 메소드

public BlurAlpha ( int radius, int passes ) : void
radius int
passes int
리턴 void

Clear32() 공개 메소드

public Clear32 ( byte r, byte g, byte b, byte a ) : void
r byte
g byte
b byte
a byte
리턴 void

Colour32() 공개 메소드

Sets colour without touching alpha values
public Colour32 ( byte r, byte g, byte b ) : void
r byte
g byte
b byte
리턴 void

DownScale32() 공개 메소드

public DownScale32 ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
리턴 void

EmptyAlphaPixel() 공개 정적인 메소드

Returns try if the given pixel is empty (i.e. alpha is zero)
public static EmptyAlphaPixel ( BitmapData bitmapData, int px, int py, byte alphaEmptyPixelTolerance ) : bool
bitmapData System.Drawing.Imaging.BitmapData
px int
py int
alphaEmptyPixelTolerance byte
리턴 bool

EmptyPixel() 공개 정적인 메소드

Returns try if the given pixel is empty (i.e. black)
public static EmptyPixel ( BitmapData bitmapData, int px, int py ) : bool
bitmapData System.Drawing.Imaging.BitmapData
px int
py int
리턴 bool

Free() 공개 메소드

public Free ( ) : void
리턴 void

GetAlpha32() 공개 메소드

public GetAlpha32 ( int px, int py, byte &a ) : void
px int
py int
a byte
리턴 void

GetPixel32() 공개 메소드

public GetPixel32 ( int px, int py, byte &r, byte &g, byte &b, byte &a ) : void
px int
py int
r byte
g byte
b byte
a byte
리턴 void

PutAlpha32() 공개 메소드

public PutAlpha32 ( int px, int py, byte a ) : void
px int
py int
a byte
리턴 void

PutPixel32() 공개 메소드

public PutPixel32 ( int px, int py, byte r, byte g, byte b, byte a ) : void
px int
py int
r byte
g byte
b byte
a byte
리턴 void

QBitmap() 공개 메소드

public QBitmap ( Bitmap bitmap ) : System
bitmap System.Drawing.Bitmap
리턴 System

QBitmap() 공개 메소드

public QBitmap ( string filePath ) : System
filePath string
리턴 System

프로퍼티 상세

bitmap 공개적으로 프로퍼티

public Bitmap,System.Drawing bitmap
리턴 System.Drawing.Bitmap

bitmapData 공개적으로 프로퍼티

public BitmapData,System.Drawing.Imaging bitmapData
리턴 System.Drawing.Imaging.BitmapData