User Tools

Site Tools


api:dk11:delphi:gisviewerwndhelper.tgis_viewerwndhelper

TGIS_ViewerWndHelper class

DK11 for Delphi | GisViewerWndHelper.TGIS_ViewerWndHelper | Classes | Constructors | Fields | Methods | Properties

Windows helper for operation like zoom, drag etc.

Available also on: .NET | Java.

Syntax

// Delphi
type
  TGIS_ViewerWndHelper = class( TGIS_ObjectDisposable )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_ViewerWndHelper : public TGIS_ObjectDisposable
{
};

Inheritance

→ TObject → TGIS_ObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
Create(TGIS_Viewer; TGIS_ViewerWndHelperRunEvent; TGIS_ViewerWndHelperSynchronizeEvent) public Create an instance
Create(TGIS_Viewer; TGIS_ViewerWndHelperRunEvent; TGIS_ViewerWndHelperSynchronizeEvent; TGIS_ViewerWndHelperSimpleEvent) public Create an instance

Fields

Inherited Protected
Name Visibility Description
GestureState public Status of gesture: is it active etc.

Methods

Inherited Overrides Protected
Name Visibility Description
ActualExtent public Actual extent of a map including current scale etc.
DoDrag public Drag a cache bitmap.
DoFullExtent public Perform animation of placing map in a full extent.
DoZoom(Double; Double; Double; Boolean; Boolean) public Zoom a cache bitmap by center point.
DoZoom(Double; Double; Double; Double) public Zoom a cache bitmap by zooming rectangle.
FitScreenAnimation public Animate cache bitmap to fit it properly into the window.
GestureActive public Gesture activity status.
GestureBegin public Start gesture.
GestureCancelLongTap public Cancel log tap gesture.
GestureEnd public Finalize gesture.
GestureMouseDown public Start operation upon MouseDown gesture.
GestureMouseMove public Start operation upon MouseMove gesture.
GestureMouseUp public Start operation upon MouseUp gesture.
GestureNoMovement public Gesture movement status.
GestureRecordMovement public Add movement to gesture engine.
IsScaled public Cached bitmap scaling sate.
Reset public Reset context to actual cache bitmap size and actual VisibleExtent of the map
ResetDelayedTime public Reset Delayed update threshold to original value.
ScaledRect(Single) public Provides rectangle used to scale a cached bitmap upon Paint.
ScaledRect(TGIS_Extent; Double; Double; Single) public Provides rectangle used to scale a cache bitmap upon Paint.
SetVisibleExtent public Set VisibleExtent based on current position and size of cached bitmap
UpdateCancel public Cancel any pending full map updates.
UpdateDelayed public Perform delayed map update.
UpdateImmediate public Force immediate map update.

Properties

Inherited Protected
Name Visibility Description
DelayedTime public Delayed update threshold in milliseconds.
PendingUpdate public True, if any timer based update is undergoing.

2019/06/26 01:09