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

SetOutlinePen

Set the Outline Pen value for a RastPort

Declaration

Source position: agraphics.pas line 2386

function SetOutlinePen(

  rp: pRastPort;

  pen: LongWord

):LongWord;

Arguments

rp

  

A pointer to a RastPort

pen

  

Pen 0..255

Function result

Returns the previous outline pen

Description

Set the current value of the O pen for the rastport and turn on area outline mode. This function should be used instead of poking the structure directly, because future graphics devices may store it differently, for instance, using more bits.


Documentation generated on: 2021-07-30