mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 09:40:20 +02:00
+ Pmand->Pmmask, pmOr ->pmMerge
This commit is contained in:
parent
1abb5d4c83
commit
993460bbc3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user