C# Class SoundInTheory.DynamicImage.Filters.ShinyFloorFilter

Creates the effect of an image placed on a shiny floor. This filter adds a reflection of the image just below it.
Inheritance: ImageReplacementFilter
Afficher le fichier Open project: sitdap/dynamic-image

Private Properties

Свойство Type Description
GetReflectionOffsetY int

Méthodes protégées

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

Applies the ShinyFloorFilter to the specified source.

GetDestinationDimensions ( FastBitmap source, int &width, int &height ) : bool

Returns the dimensions of the output image.

Private Methods

Méthode Description
GetReflectionOffsetY ( FastBitmap source ) : int

Method Details

ApplyFilter() protected méthode

Applies the ShinyFloorFilter to the specified source.
protected ApplyFilter ( FastBitmap source, System.Windows.Media.DrawingContext dc, int width, int height ) : void
source SoundInTheory.DynamicImage.Util.FastBitmap The source image.
dc System.Windows.Media.DrawingContext
width int
height int
Résultat void

GetDestinationDimensions() protected méthode

Returns the dimensions of the output image.
protected GetDestinationDimensions ( FastBitmap source, int &width, int &height ) : bool
source SoundInTheory.DynamicImage.Util.FastBitmap The source image.
width int The desired width of the output image.
height int The desired height of the output image.
Résultat bool