Set pen colors and draw mode for a RastPort.
Source position: agraphics.pas line 2185
procedure SetABPenDrMd( |
Rp: PRastPort; |
APen: LongWord; |
BPen: LongWord; |
DrawMode: LongWord |
); |
Rp |
|
A pointer to a RastPort |
APen |
|
primary pen value |
BPen |
|
secondary pen value |
DrawMode |
|
0-255, some combinations may not make much sense. |
Set the pen values and drawing mode for lines, fills and text.
This call is essentially the same as a sequence of SetAPen()/SetBPen()/SetDrMD() calls, except that it is significantly faster. The minterms will only be generated once, or not at all if nothing changed (warning to illegal RastPort pokers!).
This functions turns on PenMode for the RastPort.
|
Set the primary pen for a RastPort. |
|
|
Set secondary pen for a RastPort |
|
|
Set drawing mode for a RastPort |