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

SetAPen

Set the primary pen for a RastPort.

Declaration

Source position: agraphics.pas line 2037

procedure SetAPen(

  Rp: PRastPort;

  Pen: LongWord

);

Arguments

Rp

  

A pointer to a RastPort

Pen

  

Pen (0..255)

Description

Set the primary drawing pen (A-Pen) for lines, fills, and text. This functions turns on PenMode for the RastPort.

See also

GetAPen

  

Get the A Pen value for a RastPort

SetBPen

  

Set secondary pen for a RastPort

GetBPen

  

Get the B Pen value for a RastPort


Documentation generated on: 2021-07-30