C# Class Pinta.ImageManipulation.Gradients.BaseGradientRenderer

Datei anzeigen Open project: PintaProject/Pinta.ImageManipulation

Public Methods

Method Description
AfterRender ( ) : void
BeforeRender ( ) : void
ComputeByteLerp ( int x, int y ) : byte
Render ( ISurface surface ) : void

Protected Methods

Method Description
BaseGradientRenderer ( bool alphaOnly, BinaryPixelOp normalBlendOp ) : System

Private Methods

Method Description
ComputeAlphaOnlyValuesFromColors ( ColorBgra startColor, ColorBgra endColor, byte &startAlpha, byte &endAlpha ) : void
ProcessGradientLine ( byte startAlpha, byte endAlpha, int y, Rectangle rect, ISurface surface ) : bool

Method Details

AfterRender() public method

public AfterRender ( ) : void
return void

BaseGradientRenderer() protected method

protected BaseGradientRenderer ( bool alphaOnly, BinaryPixelOp normalBlendOp ) : System
alphaOnly bool
normalBlendOp BinaryPixelOp
return System

BeforeRender() public method

public BeforeRender ( ) : void
return void

ComputeByteLerp() public abstract method

public abstract ComputeByteLerp ( int x, int y ) : byte
x int
y int
return byte

Render() public method

public Render ( ISurface surface ) : void
surface ISurface
return void