C# Class SoundInTheory.DynamicImage.Filters.BorderFilter

Applies a border to an image. The original image is not resized; the border is added around the edge of the image.
Inheritance: ImageReplacementFilter
Show file Open project: sitdap/dynamic-image

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