C# Class Pinta.Core.LocalHistogramEffect

Inheritance: BaseEffect
Mostrar archivo Open project: xxgreg/Pinta

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
LocalHistogramEffect ( ) : System
RenderRect ( int rad, ImageSurface src, ImageSurface dst, Rectangle rect ) : void
RenderRectWithAlpha ( int rad, ImageSurface src, ImageSurface dst, Rectangle rect ) : void

Protected Methods

Method Description
GetMaxAreaForRadius ( int radius ) : int

Private Methods

Method Description
MemorySetToZero ( int ptr, int 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

LocalHistogramEffect() public method

public LocalHistogramEffect ( ) : System
return System

RenderRect() public method

public RenderRect ( int rad, ImageSurface src, ImageSurface dst, Rectangle rect ) : void
rad int
src Cairo.ImageSurface
dst Cairo.ImageSurface
rect Cairo.Rectangle
return void

RenderRectWithAlpha() public method

public RenderRectWithAlpha ( int rad, ImageSurface src, ImageSurface dst, Rectangle rect ) : void
rad int
src Cairo.ImageSurface
dst Cairo.ImageSurface
rect Cairo.Rectangle
return void