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

GfxAssociate

associate a graphics extended node with a given pointer

Declaration

Source position: agraphics.pas line 2164

procedure GfxAssociate(

  Pointer_: Pointer;

  Node: PExtendedNode

);

Arguments

Pointer_

  

A pointer to a data structure.

Node

  

An ExtendedNode structure to associate with the pointer

Description

Associate a special graphics extended data structure (each of which begins with an ExtendedNode structure) with another structure via the other structure's pointer. Later, when you call GfxLookUp() with the other structure's pointer you may retrieve a pointer to this special graphics extended data structure, if it is available.Never associate one special graphics extended data structure to several pointers. Only one pointer is allowed!

See also

GfxNew

  

Allocate a graphics extended data structure

GfxFree

  

Free a graphics extended data structure

GfxLookUp

  

Find a graphics extended node associated with a given pointer


Documentation generated on: 2017-01-10