C# 클래스 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.
상속: ImageReplacementFilter
파일 보기 프로젝트 열기: sitdap/dynamic-image

Private Properties

프로퍼티 타입 설명
GetReflectionOffsetY int

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GetReflectionOffsetY ( FastBitmap source ) : int

메소드 상세

ApplyFilter() 보호된 메소드

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
리턴 void

GetDestinationDimensions() 보호된 메소드

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.
리턴 bool