+ Pmand->Pmmask, pmOr ->pmMerge

This commit is contained in:
michael 2004-12-23 12:08:43 +00:00
parent 1abb5d4c83
commit 993460bbc3

View File

@ -210,8 +210,8 @@ var PutPixelProc : TPutPixelProc;
begin
with canv.pen do
case mode of
pmAnd : PutPixelProc := @PutPixelAnd;
pmOr : PutPixelProc := @PutPixelOr;
pmMerge : PutPixelProc := @PutPixelAnd;
pmMask : PutPixelProc := @PutPixelOr;
pmXor : PutPixelProc := @PutPixelXor;
else PutPixelProc := @PutPixelCopy;
end;
@ -336,8 +336,8 @@ begin
PatternToPoints (pattern, @LinePoints);
with canv.pen do
case mode of
pmAnd : PutPixelProc := @PutPixelAnd;
pmOr : PutPixelProc := @PutPixelOr;
pmMask : PutPixelProc := @PutPixelAnd;
pmMerge : PutPixelProc := @PutPixelOr;
pmXor : PutPixelProc := @PutPixelXor;
else PutPixelProc := @PutPixelCopy;
end;