@circular
Hi!
I have just played with the more seldom used params for GradientFill.
Bloody simple code:
function GradientError(wi,hi : Integer) : TBGRABitmap;
var tmp : TBGRABitmap;
begin
tmp := TBGRABitmap.Create(wi,hi);
tmp.GradientFill(0,0,wi,hi, cssOrange,cssBlue, gtAngular, PointF(0,0),PointF(wi,hi),dmSet);
result := tmp;
end;
There is no gradient at all. There are two triangles.
I've got three ideas for a solution
* You call it Planck Gradient - radiation is emitted, transmitted and absorbed only in discrete energy packets
* This is a bug
* I have not understood
gtAngular - perhaps of missing doc.
Winni