C# Class SoundInTheory.DynamicImage.Filters.RotationFilter

Rotates an image based on a specified angle. The image rotates around its centre point.
Inheritance: ImageReplacementFilter
Afficher le fichier Open project: sitdap/dynamic-image

Private Properties

Свойство Type Description

Méthodes protégées

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

Applies the RotationFilter to the specified source.

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

Returns the dimensions of the output image.

Method Details

ApplyFilter() protected méthode

Applies the RotationFilter to the specified source.
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
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