C# 클래스 SoundInTheory.DynamicImage.Filters.ShaderEffectFilter

The base class for filters that apply an HLSL shader to the image.
상속: ImageReplacementFilter
파일 보기 프로젝트 열기: sitdap/dynamic-image

보호된 메소드들

메소드 설명
ApplyFilter ( FastBitmap source, System.Windows.Media.DrawingContext dc, int width, int height ) : void

Applies the filter to the specified source.

CleanUpDrawingVisual ( FastBitmap source, System.Windows.Media.DrawingVisual drawingVisual ) : void
ConfigureDrawingVisual ( FastBitmap source, System.Windows.Media.DrawingVisual drawingVisual ) : void
GetDestinationDimensions ( FastBitmap source, int &width, int &height ) : bool

Returns the dimensions of the output image.

GetEffect ( FastBitmap source ) : System.Windows.Media.Effects.Effect

메소드 상세

ApplyFilter() 보호된 메소드

Applies the filter 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

CleanUpDrawingVisual() 보호된 메소드

protected CleanUpDrawingVisual ( FastBitmap source, System.Windows.Media.DrawingVisual drawingVisual ) : void
source SoundInTheory.DynamicImage.Util.FastBitmap
drawingVisual System.Windows.Media.DrawingVisual
리턴 void

ConfigureDrawingVisual() 보호된 메소드

protected ConfigureDrawingVisual ( FastBitmap source, System.Windows.Media.DrawingVisual drawingVisual ) : void
source SoundInTheory.DynamicImage.Util.FastBitmap
drawingVisual System.Windows.Media.DrawingVisual
리턴 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

GetEffect() 보호된 추상적인 메소드

protected abstract GetEffect ( FastBitmap source ) : System.Windows.Media.Effects.Effect
source SoundInTheory.DynamicImage.Util.FastBitmap
리턴 System.Windows.Media.Effects.Effect