Class TAdCanvasDisplayList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdCanvasDisplayList = class(TAdList)

Description

Contains multiple TAdCanvasObject objects. The objects can be drawn at once and transformed in 3D space using simple functions.

Hierarchy

Overview

Methods

Public constructor Create(AAppl:TAd2dApplication);
Public destructor Destroy; override;
Public procedure ResetTransform;
Public procedure Scale(AX, AY, AZ: single);
Public procedure Translate(AX, AY, AZ: single);
Public procedure RotateX(ARotation: single);
Public procedure RotateY(ARotation: single);
Public procedure RotateZ(ARotation: single);
Public procedure MatrixTransform(AMatrix:TAdMatrix);
Public procedure Draw;

Properties

Public property Items[Index:integer]: TAdCanvasObject read GetItem write SetItem;

Description

Methods

Public constructor Create(AAppl:TAd2dApplication);

Creates an instance of TAdCanvasDisplayList.

Public destructor Destroy; override;

Destroys the instance of TAdCanvasDisplayList.

Public procedure ResetTransform;

Resets the matrix used to transform the objects to an identity matrix.

Public procedure Scale(AX, AY, AZ: single);

Creates a scale matrix and multiplies it with the transformation matrix.

Public procedure Translate(AX, AY, AZ: single);

Creates a translation matrix and multiplies it with the transformation matrix.

Public procedure RotateX(ARotation: single);

Creates a rotate x matrix and multiplies it with the transformation matrix.

Public procedure RotateY(ARotation: single);

Creates a rotate y matrix and multiplies it with the transformation matrix.

Public procedure RotateZ(ARotation: single);

Creates a rotate z matrix and multiplies it with the transformation matrix.

Public procedure MatrixTransform(AMatrix:TAdMatrix);

Multiplies "AMatrix" with the transformation matrix.

Public procedure Draw;

Draws all objects in the list.

Properties

Public property Items[Index:integer]: TAdCanvasObject read GetItem write SetItem;

Property used to have acces on each object in the list.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58