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
Mostrar archivo Open project: sitdap/dynamic-image Class Usage Examples

Protected Methods

Method 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 method

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
return void

GetDestinationDimensions() protected method

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