C# Class PurplePen.MapView.BitmapUtil

Summary description for BitmapUtil.
ファイルを表示 Open project: petergolde/PurplePen Class Usage Examples

Public Methods

Method Description
LightenBitmap ( Bitmap bm, double lightenFactor ) : void
MergeBitmap ( Bitmap bmDest, Rectangle rectDest, Bitmap bmSrc, Rectangle rectSrc ) : void
MoveRectangle ( Bitmap bm, Rectangle src, int dx, int dy ) : void

Private Methods

Method Description
AdjustBits ( byte src, int size, byte lookup ) : void
CalculateLightening ( double lightenFactor ) : byte[]
CombineBits ( byte dest, byte src, int size ) : void
MemCopy ( byte dest, byte src, int size ) : void

Method Details

LightenBitmap() public static method

public static LightenBitmap ( Bitmap bm, double lightenFactor ) : void
bm System.Drawing.Bitmap
lightenFactor double
return void

MergeBitmap() public static method

public static MergeBitmap ( Bitmap bmDest, Rectangle rectDest, Bitmap bmSrc, Rectangle rectSrc ) : void
bmDest System.Drawing.Bitmap
rectDest System.Drawing.Rectangle
bmSrc System.Drawing.Bitmap
rectSrc System.Drawing.Rectangle
return void

MoveRectangle() public static method

public static MoveRectangle ( Bitmap bm, Rectangle src, int dx, int dy ) : void
bm System.Drawing.Bitmap
src System.Drawing.Rectangle
dx int
dy int
return void