C# Class PurplePen.MapView.BitmapUtil

Summary description for BitmapUtil.
Afficher le fichier Open project: petergolde/PurplePen Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static LightenBitmap ( Bitmap bm, double lightenFactor ) : void
bm System.Drawing.Bitmap
lightenFactor double
Résultat void

MergeBitmap() public static méthode

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
Résultat void

MoveRectangle() public static méthode

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