The errors are all within the file BGRAdefaultbitmap.pas . There are about 25 of them.
procedure TBGRADefaultBitmap.FillQuadLinearColor(pt1, pt2, pt3, pt4: TPointF;
c1, c2, c3, c4: TBGRAPixel);
. . . .
FillTriangleLinearColor(pt1,pt2,center, c1,c2,centerColor);
FillTriangleLinearColor(pt2,pt3,center, c2,c3,centerColor);
FillTriangleLinearColor(pt3,pt4,center, c3,c4,centerColor);
FillTriangleLinearColor(pt4,pt1,center, c4,c1,centerColor);
end;
procedure TBGRADefaultBitmap.FillQuadLinearMappingLightness(pt1, pt2, pt3,
pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; light1,
light2, light3, light4: word; TextureInterpolation: Boolean);
. . . .
FillTriangleLinearMappingLightness(pt1,pt2,center, texture,tex1,tex2,centerTex, light1,light2,centerLight, TextureInterpolation);
FillTriangleLinearMappingLightness(pt2,pt3,center, texture,tex2,tex3,centerTex, light2,light3,centerLight, TextureInterpolation);
FillTriangleLinearMappingLightness(pt3,pt4,center, texture,tex3,tex4,centerTex, light3,light4,centerLight, TextureInterpolation);
FillTriangleLinearMappingLightness(pt4,pt1,center, texture,tex4,tex1,centerTex, light4,light1,centerLight, TextureInterpolation);
end;
procedure BGRAGradientFill(bmp: TBGRACustomBitmap; x, y, x2, y2: integer;
c1, c2: TBGRAPixel; gtype: TGradientType; o1, o2: TPointF; mode: TDrawMode;
gammaColorCorrection: boolean = True; Sinus: Boolean=False);
begin
bmp.GradientFill(x,y,x2,y2,c1,c2,gtype,o1,o2,mode,gammaColorCorrection,sinus);
end;
I am running Kubuntu 16.04 64bit