My option is to calculate the color of each future pixel by finding the average color between the background color and the brush color (to get a smooth (feather) transition from the brush line to the background). But it takes a lot of CPU time.

    1 answer 1

    Not really sure, but try playing with Pen.Mode . pmXor look at pmXor and pmNotXor

      Canvas.Pen.Mode := pmBlack;{, pmWhite, pmNop, pmNot, pmCopy, pmNotCopy, pmMergePenNot, pmMaskPenNot, pmMergeNotPen, pmMaskNotPen, pmMerge, pmNotMerge, pmMask, pmNotMask, pmXor, pmNotXor}