Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

SetABPenDrMd

Set pen colors and draw mode for a RastPort.

Declaration

Source position: agraphics.pas line 2185

procedure SetABPenDrMd(

  Rp: PRastPort;

  APen: LongWord;

  BPen: LongWord;

  DrawMode: LongWord

);

Arguments

Rp

  

A pointer to a RastPort

APen

  

primary pen value

BPen

  

secondary pen value

DrawMode

  

0-255, some combinations may not make much sense.

Description

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.

See also

SetAPen

  

Set the primary pen for a RastPort.

SetBPen

  

Set secondary pen for a RastPort

SetDrMD

  

Set drawing mode for a RastPort


Documentation generated on: 2021-07-30