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

TBorder

Pointer drawing structure

Declaration

Source position: intuition.pas line 63

type TBorder = record

  LeftEdge: SmallInt;

  

Initial left offsets from the origin

  TopEdge: SmallInt;

  

Initial top offsets from the origin

  FrontPen: Byte;

  

Front pen for rendering

  BackPen: Byte;

  

Back pen for rendering

  DrawMode: Byte;

  

Draw Mode for rendering

  Count: ShortInt;

  

Number of XY pairs

  XY: Pointer;

  

Vector coordinate pairs relative to LeftTop

  NextBorder: PBorder;

  

pointer to any other Border too

end;

Description

Data type Border, used for drawing a series of lines which is intended for use as a border drawing, but which may, in fact, be used to render any arbitrary vector shape. The routine DrawBorder sets up the RastPort with the appropriate variables, then does a Move to the first coordinate, then does Draws to the subsequent coordinates. After all the Draws are done, if NextBorder is non-zero we call DrawBorder recursively

See also

TRequester

  

Requesters The following struct is used for standard intuition requesters

GA_Border

  

GadgetClass Tag. (PBorder) Gadget imagry is a border

DrawBorder

  

Draw the specified Border structure into a RastPort.


Documentation generated on: 2021-07-30