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

SetOutlinePen

Set the Outline Pen value for a RastPort

Declaration

Source position: agraphics.pas line 2461

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