Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CFxHitTestInfo.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxHitTestInfo : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxHitTestInfo(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxHitTestInfo obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
58
64
70
76
82
88
94
100
106
112
113 public virtual bool IsFxEvent() {
114 bool ret = PCADGlobalsPINVOKE.CFxHitTestInfo_IsFxEvent(swigCPtr);
116 return ret;
117 }
118
124
130
136
142
148
154
160
166
172
178
184
190
196
202
208
214
220
226
232
238
244
250
256
262
268
274
280
286
292
298
304
310
316
322
328
334
340
346
352
358
364
370
376
377 public virtual int GetKey() {
378 int ret = PCADGlobalsPINVOKE.CFxHitTestInfo_GetKey(swigCPtr);
380 return ret;
381 }
382
388
389 public virtual CFxDocument GetFxDocument() {
390 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxHitTestInfo_GetFxDocument(swigCPtr);
391 CFxDocument ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxDocument(cPtr, false);
393 return ret;
394 }
395
400
405
411
416
421
422 public virtual SWIGTYPE_p_CFxEvent GetEvent() {
423 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxHitTestInfo_GetEvent(swigCPtr);
424 SWIGTYPE_p_CFxEvent ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_CFxEvent(cPtr, false);
426 return ret;
427 }
428
429 public enum GestureState {
430 NoGesture = 0,
431 GestureStarted = 1,
432 GestureUpdated = 2,
433 GestureFinished = 3,
435 }
436
437}
438
439}
virtual OdGsDCPoint GetGesturePinchCenterPoint()
virtual double GetGesturePinchScaleFactor()
virtual bool IsInsideDragSelectSequence()
virtual bool IsRightButtonDoubleClick()
virtual bool IsLeftMouseButtonPressed()
virtual OdGsDCPoint GetMousePosition()
virtual int SystemCursorDisableCount()
virtual bool IsMouseOverActiveViewport()
virtual OdGePoint2d GetGesturePanOffset()
virtual bool IsMiddleMouseButtonPressed()
virtual bool IsMiddleButtonTrippleClick()
virtual OdGePoint2d GetMousePositionF()
virtual void Dispose(bool disposing)
virtual bool IsLeftButtonDoubleClick()
virtual bool IsLeftButtonTrippleClick()
static HandleRef getCPtr(CFxHitTestInfo obj)
virtual double GetGestureSwipeAngle()
virtual void EnableSystemCursorGraphics()
virtual bool IsInsideDragDropSequence()
virtual double GetGesturePinchRollAngle()
virtual bool IsMiddleButtonDoubleClick()
CFxHitTestInfo(IntPtr cPtr, bool cMemoryOwn)
virtual CFxString GetKeyText()
virtual bool IsRightMouseButtonPressed()
virtual void DisableSystemCursorGraphics()
virtual bool IsRightButtonTrippleClick()
virtual SWIGTYPE_p_CFxEvent GetEvent()
virtual bool IsKeyboardPressEvent()
virtual bool IsKeyboardReleaseEvent()
virtual void SkipNextRightMouseButtonUpEvent()
virtual CFxDocument GetFxDocument()
virtual CFxHitTestInfo.GestureState GetGestureState()
static bool CFxHitTestInfo_IsCancelPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsRightButtonClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsRightButtonUp(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHitTestInfo_GetMousePositionF(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_CFxHitTestInfo(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsShiftPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMiddleButtonDoubleClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsDragEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsKeyboardReleaseEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsArrowUpPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static double CFxHitTestInfo_GetGestureSwipeAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsArrowDownPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsAltPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMiddleButtonDown(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxHitTestInfo_EnableSystemCursorGraphics(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsInsideLISP(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMouseOverActiveViewport(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsRightButtonDown(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsGesture(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsGesturePinch(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsFxEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static double CFxHitTestInfo_GetGesturePinchRollAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsKeyboardEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMouseEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsRightButtonDoubleClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxHitTestInfo_SkipKeyboardInput(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsLeftMouseButtonPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsLeftButtonClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxHitTestInfo_GetKey(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHitTestInfo_GetFxDocument(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHitTestInfo_GetEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMouseWheel(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMiddleButtonClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsGesturePan(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsInsideDragSelectSequence(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMiddleButtonTrippleClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsCtrlPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsLeftButtonDoubleClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxHitTestInfo_GetGestureState(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMiddleButtonUp(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxHitTestInfo_GetWheelDelta(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsLeftButtonTrippleClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxHitTestInfo_SystemCursorDisableCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxHitTestInfo_GetFxEventType(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsSpacePressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHitTestInfo_GetMousePosition(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsContinuousEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxHitTestInfo_DisableSystemCursorGraphics(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHitTestInfo_GetGesturePanOffset(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsInsideCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static double CFxHitTestInfo_GetGesturePinchScaleFactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsLeftButtonUp(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsInsideDragDropSequence(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsRightButtonTrippleClick(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxHitTestInfo_SkipNextRightMouseButtonUpEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHitTestInfo_GetKeyText(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsInsideSelect(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHitTestInfo_GetGesturePinchCenterPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsKeyboardPressEvent(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsLeftButtonDown(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMiddleMouseButtonPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsRightMouseButtonPressed(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxHitTestInfo_IsMouseMoved(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxHitTestInfo_GetWheelOrientation(global::System.Runtime.InteropServices.HandleRef jarg1)