Set pen colors and draw mode for a RastPort.
Source position: agraphics.pas line 2378
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 |