Class TCustomGridTool

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomGridTool = class(TCustomInteractiveTool)

Description

TCustomGridTool is an abstract base class for TCustomInteractiveTools that interact with the grid.

Hierarchy

Overview

Methods

Private procedure DrawColumnRowOrLayer(const Direction: TViewDirection; const BitMap: TBitmap32);
Private function IsInsideSelectionWidth(RealPoint: TPoint2D; const X, Y: Integer): boolean;
Protected function IsOnFrontColumn(const X, Y: integer): boolean;
Protected function IsOnFrontLayer(const X, Y: integer): boolean;
Protected function IsOnSideLayer(const X, Y: integer): boolean;
Protected function IsOnSideRow(const X, Y: integer): boolean;
Protected function IsOnTopColumn(const X, Y: integer): boolean;
Protected function IsOnTopRow(const X, Y: integer): boolean;
Protected procedure ShowNewColumnOrLayer(const BitMap: TBitmap32);
Protected procedure ShowNewColumnOrRow(const BitMap: TBitmap32);
Protected procedure ShowNewRowOrLayer(const BitMap: TBitmap32);

Description

Methods

Private procedure DrawColumnRowOrLayer(const Direction: TViewDirection; const BitMap: TBitmap32);
 
Private function IsInsideSelectionWidth(RealPoint: TPoint2D; const X, Y: Integer): boolean;
 
Protected function IsOnFrontColumn(const X, Y: integer): boolean;

IsOnFrontColumn returns True if a column boundary on the front view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnFrontLayer(const X, Y: integer): boolean;

IsOnFrontLayer returns True if a layer boundary on the front view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnSideLayer(const X, Y: integer): boolean;

IsOnSideLayer returns True if a layer boundary on the side view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnSideRow(const X, Y: integer): boolean;

IsOnSideRow returns True if a row boundary on the side view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnTopColumn(const X, Y: integer): boolean;

IsOnTopColumn returns True if a column boundary on the top view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnTopRow(const X, Y: integer): boolean;

IsOnTopRow returns True if a row boundary on the top view of the model is within SelectionWidth pixels of (X,Y).

Protected procedure ShowNewColumnOrLayer(const BitMap: TBitmap32);

ShowNewColumnOrLayer shows the position of a column or layer boundary in the front view of the model when a column or layer boundary is being added or moved.

Protected procedure ShowNewColumnOrRow(const BitMap: TBitmap32);

ShowNewColumnOrRow shows the position of a column or row boundary in the top view of the model when a column or row boundary is being added or moved.

Protected procedure ShowNewRowOrLayer(const BitMap: TBitmap32);

ShowNewRowOrLayer shows the position of a row or layer boundary in the side view of the model when a row or layer boundary is being added or moved.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:42