Leaper WaferScan Toolkit
中文 / English 2.x
LDisplay Class Reference
Inheritance diagram for LDisplay:
ILDisplay ILDisplayEvents ILDisplayCommon

Additional Inherited Members

- Public Member Functions inherited from ILDisplay
int AddObject (IDispatch *drawable, int drawFlags)
 
int AddRegion (IDispatch *region, BOOL interactable)
 
void ClientToImage (int x, int y, double *imageX, double *imageY)
 
void FitInViewObject (IDispatch *object, LPVAlignment alignFlags)
 
IDispatch * GetImage ()
 
IDispatch * GetObjectByID (int objectId)
 
IDispatch * GetRegionByID (int regionId)
 
void ImageToClient (double imageX, double imageY, int *x, int *y)
 
void RemoveAllObjects ()
 
void RemoveAllRegions ()
 
void RemoveImage ()
 
void RemoveObject (IDispatch *drawable)
 
void RemoveObjectByID (int objectId)
 
void RemoveRegion (IDispatch *region)
 
void RemoveRegionByID (int regionId)
 
void SetImage (IDispatch *image)
 
- Public Member Functions inherited from ILDisplayCommon
int AddReferenceLineH (double position, double relativePosition, BOOL attached, OLE_COLOR clr)
 
int AddReferenceLineV (double position, double relativePosition, BOOL attached, OLE_COLOR clr)
 
void FitInView (int tlx, int tly, int w, int h, LPVAlignment alignFlags)
 
void FitToWindow (LPVAlignment alignFlags)
 
void Refresh ()
 
void RefreshImmediate ()
 
void RemoveAllReferenceLine ()
 
void RemoveReferenceLine (int refLineId)
 
int SaveSceneToFile (BSTR filename, double zoomX, double zoomY)
 
int SaveWindowToFile (BSTR filename)
 
void SetDisplayFlag (LPVDisplayFlags flag, BOOL enable)
 
void SetSize (int w, int h)
 
void ShowDialog (BSTR dialogName, int x, int y, int w, int h)
 
void ShowDialogAsync (BSTR dialogName, int x, int y, int w, int h, int refreshInterval)
 
- Public Member Functions inherited from ILDisplayEvents
void KeyDown (int keyCode, LPVKeyboardModifiers modifiers)
 
void KeyUp (int keyCode, LPVKeyboardModifiers modifiers)
 
void MouseDoubleClick (LPVMouseButton buttons, LPVKeyboardModifiers modifiers, int x, int y)
 
void MouseDown (LPVMouseButton buttons, LPVKeyboardModifiers modifiers, int x, int y)
 
void MouseMove (LPVMouseButton buttons, LPVKeyboardModifiers modifiers, int x, int y)
 
void MouseUp (LPVMouseButton buttons, LPVKeyboardModifiers modifiers, int x, int y)
 
void MouseWheel (LPVMouseButton buttons, LPVKeyboardModifiers modifiers, int x, int y, int delta)
 
void Refreshed ()
 
void RegionDragFinished (int regionId)
 
void RegionDragging (int regionId)
 
void RegionRemoving (int regionId)
 
void RegionRemovingAll ()
 
- Properties inherited from ILDisplay
BOOL KeepAspectRatio [get, set]
 Whether the display control should keep the aspect ratio when zooming.
 
int PixelUnderMouse [get]
 The pixel value under current cursor's position.
 
- Properties inherited from ILDisplayCommon
LPVAlignment Alignment [get, set]
 The alignment the control is used when fit some part of the scene to the window.
 
BOOL AutoRefreshEnabled [get, set]
 Enables or disables automatically display re-rendering triggered by add/remove objects or regions or the image. By default, it's on.
 
OLE_COLOR BackColor [get, set]
 The background color of the display control.
 
LPVDisplayFlags DisplayFlags [get, set]
 The display flags, see LPVDisplayFlags.
 
BOOL DrawingEnabled [get, set]
 Enables or disables all display rendering. Useful when performing many graphics or image operations at once.
 
LPVScrollBarPolicy HScrollBarPolicy [get, set]
 The policy of the horizontal scroll bar, see LPVScrollBarPolicy.
 
double PanX [get, set]
 The scene's translation in the x-coordinate direction for panning. The final display x position is calculated as: \( (x + panX) \times zoomX \).
 
double PanY [get, set]
 The scene's translation in the y-coordinate direction for panning. The final display y position is calculated as: \( (y + panY) \times zoomY \).
 
LPVScrollBarPolicy VScrollBarPolicy [get, set]
 The policy of the vertical scroll bar, see LPVScrollBarPolicy.
 
double Zoom [set]
 Set the scene's zoom factor in both x- and y-coordinate direction.
 
LPVZoomAnchor ZoomAnchor [get, set]
 How the control should position the scene when resized, see LPVZoomAnchor.
 
double ZoomX [get, set]
 The scene's zoom factor in or out in the x-coordinate direction.
 
double ZoomY [get, set]
 The scene's zoom factor in or out in the y-coordinate direction.
 

Detailed Description

This class implements the interface ILDisplay, and is used to create an instance of display control.

Note: This class is currently not available on Linux / MacOS platform.