C# Class hqx.Interpolation

Contains the color-blending operations used internally by hqx.
Show file Open project: michaelrbk/pixelart-vectorizer

Public Methods

Method Description
Mix14To1To1 ( uint c1, uint c2, uint c3 ) : uint
Mix2To1To1 ( uint c1, uint c2, uint c3 ) : uint
Mix2To3To3 ( uint c1, uint c2, uint c3 ) : uint
Mix2To7To7 ( uint c1, uint c2, uint c3 ) : uint
Mix3To1 ( uint c1, uint c2 ) : uint
Mix4To2To1 ( uint c1, uint c2, uint c3 ) : uint
Mix5To3 ( uint c1, uint c2 ) : uint
Mix6To1To1 ( uint c1, uint c2, uint c3 ) : uint
Mix7To1 ( uint c1, uint c2 ) : uint
MixEven ( uint c1, uint c2 ) : uint

Method Details

Mix14To1To1() public static method

public static Mix14To1To1 ( uint c1, uint c2, uint c3 ) : uint
c1 uint
c2 uint
c3 uint
return uint

Mix2To1To1() public static method

public static Mix2To1To1 ( uint c1, uint c2, uint c3 ) : uint
c1 uint
c2 uint
c3 uint
return uint

Mix2To3To3() public static method

public static Mix2To3To3 ( uint c1, uint c2, uint c3 ) : uint
c1 uint
c2 uint
c3 uint
return uint

Mix2To7To7() public static method

public static Mix2To7To7 ( uint c1, uint c2, uint c3 ) : uint
c1 uint
c2 uint
c3 uint
return uint

Mix3To1() public static method

public static Mix3To1 ( uint c1, uint c2 ) : uint
c1 uint
c2 uint
return uint

Mix4To2To1() public static method

public static Mix4To2To1 ( uint c1, uint c2, uint c3 ) : uint
c1 uint
c2 uint
c3 uint
return uint

Mix5To3() public static method

public static Mix5To3 ( uint c1, uint c2 ) : uint
c1 uint
c2 uint
return uint

Mix6To1To1() public static method

public static Mix6To1To1 ( uint c1, uint c2, uint c3 ) : uint
c1 uint
c2 uint
c3 uint
return uint

Mix7To1() public static method

public static Mix7To1 ( uint c1, uint c2 ) : uint
c1 uint
c2 uint
return uint

MixEven() public static method

public static MixEven ( uint c1, uint c2 ) : uint
c1 uint
c2 uint
return uint