Class TfrmPixelPoint

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TfrmPixelPoint = class(TfrmCustomGoPhast)

Description

TfrmPixelPoint is used to allow the user to specify the real world coordinates of a pixel location on a bitmap.

Hierarchy

Overview

Fields

Implicit btnCancel: TBitBtn;
Implicit btnHelp: TBitBtn;
Implicit btnOK: TBitBtn;
Implicit lblX: TLabel;
Implicit lblY: TLabel;
Implicit rdeX: TRbwDataEntry;
Implicit rdeY: TRbwDataEntry;
Private FPixelX: integer;
Private FPixelY: integer;

Methods

Implicit procedure btnOKClick(Sender: TObject);
Private procedure SetData;
Public procedure GetData(const AViewDirection: TViewDirection; const X, Y: integer);

Description

Fields

Implicit btnCancel: TBitBtn;

btnCancel: TBitBtn; Clicking btnCancel closes TfrmPixelPoint without doing anything.

Implicit btnHelp: TBitBtn;

btnHelp: TBitBtn; Clicking btnHelp displays help on TfrmPixelPoint.

Implicit btnOK: TBitBtn;

btnOK: TBitBtn; See btnOKClick.

Implicit lblX: TLabel;

lblX: TLabel; lblX displays "X".

Implicit lblY: TLabel;

lblY: TLabel; lblY displays "Y".

Implicit rdeX: TRbwDataEntry;

rdeX: TRbwDataEntry; The user specifies the real-world X-coordinate of the pixel in rdeX

Implicit rdeY: TRbwDataEntry;

rdeY: TRbwDataEntry; The user specifies the real-world Y-coordinate of the pixel in rdeY

Private FPixelX: integer;

FPixelX: integer; FPixelX is the X-pixel coordinate in an image.

Private FPixelY: integer;

FPixelY is the Y-pixel coordinate in an image.

Methods

Implicit procedure btnOKClick(Sender: TObject);

btnOKClick calls SetData.

Private procedure SetData;

SetData specifies a new real-world location of a pixel and stores it in TfrmImportBitmap.dgPoints.

Public procedure GetData(const AViewDirection: TViewDirection; const X, Y: integer);

GetData stores the x and y coordinates of a pixel.


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