[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'agraphics' (#aros)

GetAPen

Get the A Pen value for a RastPort

Declaration

Source position: agraphics.pas line 2191

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: 2017-01-10