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

GetRPAttrsA

Examine rastport settings via a tag list

Declaration

Source position: agraphics.pas line 2147

procedure GetRPAttrsA(

  Rp: PRastPort;

  Tags: PTagItem

);

Arguments

Rp

  

A pointer to a RastPort structure

Tags

  

A pointer to a taglist specifying the attributes to read and the addresses to store the results (RPTAG_*)

Description

Read the settings of a rastport into variables. The ti_Tag field of the TagItem specifies which attribute should be read, and the ti_Data field points at the location where the result hsould be stored. All current tags store the return data as LonInts (32 bits).

currently available tags are:

RPTAG_Font
(Byte) Font for GfxText()
RPTAG_APen
(Byte) Primary rendering pen
RPTAG_BPen
(Byte) Secondary rendering pen
RPTAG_DrMd
(Byte) Drawing mode
RPTAG_OutLinePen
(Byte) Area Outline pen
RPTAG_WriteMask
(LongWord) Bit Mask for writing.
RPTAG_MaxPen
(LongWord) Maximum pen to render (see SetMaxPen())

See also

GetRPAttrs

  

VarArgs Version for GetRPAttrsA()

SetRPAttrsA

  

Modify rastport settings via a tag list

GetAPen

  

Get the A Pen value for a RastPort

GetBPen

  

Get the B Pen value for a RastPort

GetOutLinePen

  

Get the O Pen value for a RastPort


Documentation generated on: 2021-07-30