[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Source position: GR32_ColorGradients.pas line 154
type TBarycentricGradientSampler = class(TCustomSparsePointGradientSampler) |
||
protected |
||
FColorPoints: array [0..2] of TColor32FloatPoint; |
|
|
FDists: array [0..1] of TFloatPoint; |
|
|
function GetCount; override; |
|
|
function GetColor(); override; |
|
|
function GetColorPoint(); override; |
|
|
function GetPoint(); override; |
|
|
procedure SetColor(); override; |
|
|
procedure SetColorPoint(); override; |
|
|
procedure SetPoint(); override; |
|
|
procedure AssignTo(); override; |
|
|
procedure CalculateBarycentricCoordinates(); |
|
|
public |
||
constructor Create(); virtual; overload; |
|
|
function IsPointInTriangle(); |
|
|
procedure SetPoints(); override; |
|
|
procedure SetColorPoints(); |
|
|
procedure PrepareSampling; override; |
|
|
function GetSampleFloat(); override; |
|
|
function GetSampleFloatInTriangle(); |
|
|
end; |
|
||
| | ||
|
||
| | ||
|
||
| | ||
|
||
| | ||
|
||
| | ||
TObject,IInterface |
CT Web help |
CodeTyphon Studio |