Frequently Asked Question:
How does the SetBlendMode function work?
Question
I can't find any examples on how to use the SetBlendMode function. Do you a Delphi example?
Answer
The SetBlendMode function only works when you're working with vector graphics that overlap. The overlapping area is when the SetBlendMode function comes into action. Here is some Delphi sample code:
QP.SetLineColor(1, 0, 0);
QP.SetLineWidth(10);
QP.DrawLine(300, 500, 300, 150);
QP.SetLineColor(0, 0, 1);
for X := 0 to 15 do
begin
QP.SetBlendMode(X);
QP.DrawLine(200, 475 - X * 20, 400, 475 - X * 20);
end;