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

GetAPen

Get the A Pen value for a RastPort

Declaration

Source position: agraphics.pas line 2440

function GetAPen(

  Rp: PRastPort

):LongWord;

Arguments

Rp

  

A pointer to a valid RastPort structure.

Description

Return the current value of the A pen for the rastport. This function should be used instead of peeking the structure directly, because future graphics devices may store it differently, for instance, using more bits.

See also

SetAPen

  

Set the primary pen for a RastPort.


Documentation generated on: 2021-07-30