C# Class SoundInTheory.DynamicImage.Filters.ClippingMaskFilter

Clips (reveals) the content of the layer based on the non-transparent content of the specified image.
Inheritance: ShaderEffectFilter
Mostra file Open project: sitdap/dynamic-image

Protected Methods

Method Description
ApplyFilter ( FastBitmap source, System.Windows.Media.DrawingContext dc, int width, int height ) : void
GetEffect ( FastBitmap source ) : System.Windows.Media.Effects.Effect

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

GetEffect() protected method

protected GetEffect ( FastBitmap source ) : System.Windows.Media.Effects.Effect
source SoundInTheory.DynamicImage.Util.FastBitmap
return System.Windows.Media.Effects.Effect