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

GetAPen

Get the A Pen value for a RastPort

Declaration

Source position: agraphics.pas line 2318

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