C# Class SoundInTheory.DynamicImage.Filters.CropFilter

Crops an image. The rectangular section to crop is defined by X/Y coordinates and a size.
Inheritance: ImageReplacementFilter
Afficher le fichier Open project: sitdap/dynamic-image Class Usage Examples

Méthodes protégées

Méthode Description
ApplyFilter ( FastBitmap source, System.Windows.Media.DrawingContext dc, int width, int height ) : void
GetDestinationDimensions ( FastBitmap source, int &width, int &height ) : bool

Method Details

ApplyFilter() protected méthode

protected ApplyFilter ( FastBitmap source, System.Windows.Media.DrawingContext dc, int width, int height ) : void
source SoundInTheory.DynamicImage.Util.FastBitmap
dc System.Windows.Media.DrawingContext
width int
height int
Résultat void

GetDestinationDimensions() protected méthode

protected GetDestinationDimensions ( FastBitmap source, int &width, int &height ) : bool
source SoundInTheory.DynamicImage.Util.FastBitmap
width int
height int
Résultat bool