Extended .NET SDK Documentation 2024 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
53 public virtual bool IsMouseEvent() {
56 return ret;
57 }
58
59 public virtual bool IsDragEvent() {
62 return ret;
63 }
64
65 public virtual bool IsKeyboardEvent() {
68 return ret;
69 }
70
71 public virtual bool IsKeyboardPressEvent() {
74 return ret;
75 }
76
77 public virtual bool IsKeyboardReleaseEvent() {
80 return ret;
81 }
82
83 public virtual bool IsMouseWheel() {
86 return ret;
87 }
88
89 public virtual bool IsGesture() {
92 return ret;
93 }
94
95 public virtual bool IsGesturePan() {
98 return ret;
99 }
100
101 public virtual bool IsGesturePinch() {
104 return ret;
105 }
106
110 return ret;
111 }
112
113 public virtual bool IsFxEvent() {
114 bool ret = PCADGlobalsPINVOKE.CFxHitTestInfo_IsFxEvent(swigCPtr);
116 return ret;
117 }
118
119 public virtual int GetFxEventType() {
122 return ret;
123 }
124
125 public virtual OdGsDCPoint GetMousePosition() {
128 return ret;
129 }
130
134 return ret;
135 }
136
137 public virtual bool IsLeftMouseButtonPressed() {
140 return ret;
141 }
142
143 public virtual bool IsMiddleMouseButtonPressed() {
146 return ret;
147 }
148
149 public virtual bool IsRightMouseButtonPressed() {
152 return ret;
153 }
154
155 public virtual bool IsShiftPressed() {
158 return ret;
159 }
160
161 public virtual bool IsCtrlPressed() {
164 return ret;
165 }
166
167 public virtual bool IsAltPressed() {
170 return ret;
171 }
172
173 public virtual bool IsMouseMoved() {
176 return ret;
177 }
178
179 public virtual bool IsLeftButtonDown() {
182 return ret;
183 }
184
185 public virtual bool IsLeftButtonUp() {
188 return ret;
189 }
190
191 public virtual bool IsMiddleButtonDown() {
194 return ret;
195 }
196
197 public virtual bool IsMiddleButtonUp() {
200 return ret;
201 }
202
203 public virtual bool IsRightButtonDown() {
206 return ret;
207 }
208
209 public virtual bool IsRightButtonUp() {
212 return ret;
213 }
214
215 public virtual bool IsMouseOverActiveViewport() {
218 return ret;
219 }
220
221 public virtual int GetWheelDelta() {
224 return ret;
225 }
226
227 public virtual int GetWheelOrientation() {
230 return ret;
231 }
232
236 return ret;
237 }
238
239 public virtual double GetGesturePinchScaleFactor() {
242 return ret;
243 }
244
248 return ret;
249 }
250
251 public virtual double GetGesturePinchRollAngle() {
254 return ret;
255 }
256
257 public virtual double GetGestureSwipeAngle() {
260 return ret;
261 }
262
263 public virtual bool IsRightButtonTrippleClick() {
266 return ret;
267 }
268
269 public virtual bool IsMiddleButtonTrippleClick() {
272 return ret;
273 }
274
275 public virtual bool IsLeftButtonTrippleClick() {
278 return ret;
279 }
280
281 public virtual bool IsRightButtonDoubleClick() {
284 return ret;
285 }
286
287 public virtual bool IsMiddleButtonDoubleClick() {
290 return ret;
291 }
292
293 public virtual bool IsLeftButtonDoubleClick() {
296 return ret;
297 }
298
299 public virtual bool IsRightButtonClick() {
302 return ret;
303 }
304
305 public virtual bool IsMiddleButtonClick() {
308 return ret;
309 }
310
311 public virtual bool IsLeftButtonClick() {
314 return ret;
315 }
316
317 public virtual bool IsInsideDragSelectSequence() {
320 return ret;
321 }
322
323 public virtual bool IsInsideDragDropSequence() {
326 return ret;
327 }
328
329 public virtual bool IsCancelPressed() {
332 return ret;
333 }
334
335 public virtual bool IsSpacePressed() {
338 return ret;
339 }
340
341 public virtual bool IsArrowUpPressed() {
344 return ret;
345 }
346
347 public virtual bool IsArrowDownPressed() {
350 return ret;
351 }
352
353 public virtual bool IsContinuousEvent() {
356 return ret;
357 }
358
359 public virtual bool IsInsideLISP() {
362 return ret;
363 }
364
365 public virtual bool IsInsideCommand() {
368 return ret;
369 }
370
371 public virtual bool IsInsideSelect() {
374 return ret;
375 }
376
377 public virtual int GetKey() {
378 int ret = PCADGlobalsPINVOKE.CFxHitTestInfo_GetKey(swigCPtr);
380 return ret;
381 }
382
383 public virtual CFxString GetKeyText() {
386 return ret;
387 }
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
396 public virtual void EnableSystemCursorGraphics() {
399 }
400
401 public virtual void DisableSystemCursorGraphics() {
404 }
405
406 public virtual int SystemCursorDisableCount() {
409 return ret;
410 }
411
412 public virtual void SkipNextRightMouseButtonUpEvent() {
415 }
416
417 public virtual void SkipKeyboardInput() {
420 }
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 bool IsArrowDownPressed()
virtual OdGsDCPoint GetMousePosition()
virtual int SystemCursorDisableCount()
virtual bool IsLeftButtonClick()
virtual bool IsMouseOverActiveViewport()
virtual OdGePoint2d GetGesturePanOffset()
virtual bool IsMiddleMouseButtonPressed()
virtual bool IsMiddleButtonTrippleClick()
virtual OdGePoint2d GetMousePositionF()
virtual void Dispose(bool disposing)
virtual void SkipKeyboardInput()
virtual bool IsLeftButtonDoubleClick()
virtual bool IsLeftButtonTrippleClick()
static HandleRef getCPtr(CFxHitTestInfo obj)
virtual double GetGestureSwipeAngle()
virtual void EnableSystemCursorGraphics()
virtual bool IsMiddleButtonClick()
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 bool IsMiddleButtonDown()
virtual SWIGTYPE_p_CFxEvent GetEvent()
virtual bool IsKeyboardEvent()
virtual bool IsKeyboardPressEvent()
virtual bool IsRightButtonClick()
virtual bool IsRightButtonDown()
virtual bool IsKeyboardReleaseEvent()
virtual bool IsContinuousEvent()
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)