C# Class Trigrad.ColorGraders.DitherGrader

Color grader that fills a triangle with a dithered output.
Inheritance: IGrader
显示文件 Open project: ruarai/Trigrad

Public Methods

Method Description
Grade ( Sample u, Sample v, Sample w, DrawPoint p ) : Pixel

Produces a color from the specified coordinates and colors.

Private Methods

Method Description
ditherFurther ( Pixel a, Pixel b, Pixel c, int val ) : Pixel

Method Details

Grade() public method

Produces a color from the specified coordinates and colors.
public Grade ( Sample u, Sample v, Sample w, DrawPoint p ) : Pixel
u Trigrad.DataTypes.Sample
v Trigrad.DataTypes.Sample
w Trigrad.DataTypes.Sample
p DrawPoint
return Pixel