C# Class Pinta.ImageManipulation.Effects.LocalHistogramEffect

Inheritance: BaseEffect
Mostra file Open project: PintaProject/Pinta.ImageManipulation

Public Methods

Method Description
Apply ( ColorBgra src, int area, int hb, int hg, int hr, int ha ) : ColorBgra
ApplyWithAlpha ( ColorBgra src, int area, int sum, int hb, int hg, int hr ) : ColorBgra
GetPercentile ( int percentile, int area, int hb, int hg, int hr, int ha ) : ColorBgra
RenderRect ( int rad, ISurface src, ISurface dst, Rectangle rect ) : void
RenderRectWithAlpha ( int rad, ISurface src, ISurface dst, Rectangle rect ) : void

Protected Methods

Method Description
GetMaxAreaForRadius ( int radius ) : int

Private Methods

Method Description
SetToZero ( int pointer, uint size ) : void

Method Details

Apply() public method

public Apply ( ColorBgra src, int area, int hb, int hg, int hr, int ha ) : ColorBgra
src ColorBgra
area int
hb int
hg int
hr int
ha int
return ColorBgra

ApplyWithAlpha() public method

public ApplyWithAlpha ( ColorBgra src, int area, int sum, int hb, int hg, int hr ) : ColorBgra
src ColorBgra
area int
sum int
hb int
hg int
hr int
return ColorBgra

GetMaxAreaForRadius() protected static method

protected static GetMaxAreaForRadius ( int radius ) : int
radius int
return int

GetPercentile() public static method

public static GetPercentile ( int percentile, int area, int hb, int hg, int hr, int ha ) : ColorBgra
percentile int
area int
hb int
hg int
hr int
ha int
return ColorBgra

RenderRect() public method

public RenderRect ( int rad, ISurface src, ISurface dst, Rectangle rect ) : void
rad int
src ISurface
dst ISurface
rect Rectangle
return void

RenderRectWithAlpha() public method

public RenderRectWithAlpha ( int rad, ISurface src, ISurface dst, Rectangle rect ) : void
rad int
src ISurface
dst ISurface
rect Rectangle
return void