Hi!
It often bothered me, that BGRAbitmap has a getpixel for float coordinates but not a setpixel.
After some thinking I came to a bloody simple solution:
procedure SetPixelF (dest: TBGRAbitmap; P: TPointF; col: TBGRApixel);
begin
dest.FillRectAntialias(P.x-0.5, P.y-0.5, P.x+0.5, P.y+0.5, col,true);
end;
Yes - a hardrock solution with perhaps too much overhead - but it works.
In case of heavy use you can inline it.
Winni