C# Class Tsukikage.WindowsUtil.FontBitmap

1文字分のビットマップ
Show file Open project: ttsuki/ttsuki Class Usage Examples

Public Properties

Property Type Description
Bitmap byte[]
BlackBox System.Drawing.Size
Bpp short
CellInc System.Drawing.Size
Char char
OffsetBox System.Drawing.Size

Public Methods

Method Description
BitBltTo32bppTextureAlpha ( IntPtr dest32bppBitmap, Size destBitmapSize, Point dest ) : void

32bit ARGBを格納してるIntPtrに対して、白文字Alpha付でビットマップをBitBltする。

Private Methods

Method Description
BitBltAlpha ( FontBitmap chara, IntPtr dest32bppBitmap, Size destBitmapSize, Point dest ) : void
BitBltAlpha1 ( uint pDst, int dx, int dy, int dp, byte pSrc, int sx, int sy, int ex, int ey, int sw ) : void
BitBltAlpha8 ( uint pDst, int dx, int dy, int dp, byte pSrc, int sx, int sy, int ex, int ey, int sw ) : void

Method Details

BitBltTo32bppTextureAlpha() public method

32bit ARGBを格納してるIntPtrに対して、白文字Alpha付でビットマップをBitBltする。
public BitBltTo32bppTextureAlpha ( IntPtr dest32bppBitmap, Size destBitmapSize, Point dest ) : void
dest32bppBitmap System.IntPtr
destBitmapSize System.Drawing.Size
dest Point
return void

Property Details

Bitmap public property

public byte[] Bitmap
return byte[]

BlackBox public property

public Size,System.Drawing BlackBox
return System.Drawing.Size

Bpp public property

public short Bpp
return short

CellInc public property

public Size,System.Drawing CellInc
return System.Drawing.Size

Char public property

public char Char
return char

OffsetBox public property

public Size,System.Drawing OffsetBox
return System.Drawing.Size