C# Class SoundInTheory.DynamicImage.Filters.RotationFilter

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

Private Properties

Property Type Description

Protected Methods

Method 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 method

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
return void

GetDestinationDimensions() protected method

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.
return bool