Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CFxTrackerContext.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 CFxTrackerContext : 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 CFxTrackerContext(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(CFxTrackerContext 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 double GetWidth() {
56 return ret;
57 }
58
59 public virtual double GetHeight() {
62 return ret;
63 }
64
65 public virtual CFxView GetFxView() {
66 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxTrackerContext_GetFxView__SWIG_0(swigCPtr);
67 CFxView ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxView(cPtr, false);
69 return ret;
70 }
71
77
78 public virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter, SWIGTYPE_p_ODCOLORREF pColor) {
79 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_0(swigCPtr, OdGiDrawable.getCPtr(pDrawable), bDragMode, (int)eDecoration, iUserCounter, SWIGTYPE_p_ODCOLORREF.getCPtr(pColor));
81 }
82
83 public virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter) {
84 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_1(swigCPtr, OdGiDrawable.getCPtr(pDrawable), bDragMode, (int)eDecoration, iUserCounter);
86 }
87
88 public virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration) {
89 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_2(swigCPtr, OdGiDrawable.getCPtr(pDrawable), bDragMode, (int)eDecoration);
91 }
92
97
98 public virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter, SWIGTYPE_p_ODCOLORREF pColor) {
99 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_4(swigCPtr, OdDbFullSubentPath.getCPtr(dbPath), bDragMode, (int)eDecoration, iUserCounter, SWIGTYPE_p_ODCOLORREF.getCPtr(pColor));
101 }
102
103 public virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter) {
104 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_5(swigCPtr, OdDbFullSubentPath.getCPtr(dbPath), bDragMode, (int)eDecoration, iUserCounter);
106 }
107
112
117
119 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxTrackerContext_GetFxInputPointManager(swigCPtr);
120 CFxInputPointManager ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxInputPointManager(cPtr, false);
122 return ret;
123 }
124
125 public virtual CFxDocument GetFxDocument() {
126 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxTrackerContext_GetFxDocument(swigCPtr);
127 CFxDocument ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxDocument(cPtr, false);
129 return ret;
130 }
131
132 public virtual UInt32 GetBackground() {
133// test csout
134 /*SIMPLETYPE*/
137 return ret;
138 }
139
140 public virtual UInt32 GetForeground() {
141// test csout
142 /*SIMPLETYPE*/
145 return ret;
146 }
147
152
153 public virtual void CacheMe(CFxTracker pTracker, bool bAddToCache, int iPriority) {
154 PCADGlobalsPINVOKE.CFxTrackerContext_CacheMe(swigCPtr, CFxTracker.getCPtr(pTracker), bAddToCache, iPriority);
156 }
157
158 public virtual OdGiGeometry GetGiGeometry() {
159 OdGiGeometry ret = (OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),PCADGlobalsPINVOKE.CFxTrackerContext_GetGiGeometry(swigCPtr),false); /*createInt 3_2*/
160
162 return ret;
163}
164
165}
166
167}
virtual void AllowRegenAbort(bool bVal)
virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter, SWIGTYPE_p_ODCOLORREF pColor)
virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter)
CFxTrackerContext(IntPtr cPtr, bool cMemoryOwn)
virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode)
virtual void CacheMe(CFxTracker pTracker, bool bAddToCache, int iPriority)
virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode)
virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter, SWIGTYPE_p_ODCOLORREF pColor)
virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration)
virtual CFxDocument GetFxDocument()
static HandleRef getCPtr(CFxTrackerContext obj)
virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration)
virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter)
virtual void Dispose(bool disposing)
virtual CFxInputPointManager GetFxInputPointManager()
virtual OdGiGeometry GetGiGeometry()
static HandleRef getCPtr(CFxTracker obj)
Definition CFxTracker.cs:28
static void CFxTrackerContext_DrawDrawable__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, int jarg4)
static bool CFxTrackerContext_IsForActiveView(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 CFxTrackerContext_GetForeground(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxTrackerContext_DrawDrawable__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3, int jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void CFxTrackerContext_CacheMe(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, int jarg4)
static double CFxTrackerContext_GetWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxTrackerContext_GetFxInputPointManager(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 CFxTrackerContext_GetBackground(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxTrackerContext_DrawDrawable__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3, int jarg4)
static double CFxTrackerContext_GetHeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxTrackerContext_AllowRegenAbort(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxTrackerContext_DrawDrawable__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static IntPtr CFxTrackerContext_GetGiGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxTrackerContext_DrawDrawable__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, int jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static global::System.IntPtr CFxTrackerContext_GetFxDocument(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_CFxTrackerContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxTrackerContext_DrawDrawable__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3, int jarg4, int jarg5)
static void CFxTrackerContext_DrawDrawable__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, int jarg4, int jarg5)
static void CFxTrackerContext_DrawDrawable__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3)
static global::System.IntPtr CFxTrackerContext_GetFxView__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGiDrawable obj)
static HandleRef getCPtr(OdDbFullSubentPath obj)