C# Class SoundInTheory.DynamicImage.Filters.OpacityAdjustmentFilter

Adjusts the opacity of a layer. Opacity can be from 0, which is totally transparent, to 100, which is totally opaque.
Inheritance: ImageReplacementFilter
Mostra 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