Drawing a line in a Bitmap using X and Y coordinates


I have a transparent bitmap containing a thin line only. I’ve extracted the X,Y coordinates using TBitmapData in Delphi FMX. I have the X and Y coordinates of each pixel of the line in the Bitmap. My question is how to Draw again the same line in that Bitmap using the X,Y coordinates with a different color ? Or perhaps plotting it in an empty Bitmap

Comments are closed.