Extended .NET SDK Documentation 2024 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
72 public virtual bool IsForActiveView() {
75 return ret;
76 }
77
78 public virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter) {
79 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_0(swigCPtr, OdGiDrawable.getCPtr(pDrawable), bDragMode, (int)eDecoration, iUserCounter);
81 }
82
83 public virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration) {
84 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_1(swigCPtr, OdGiDrawable.getCPtr(pDrawable), bDragMode, (int)eDecoration);
86 }
87
88 public virtual void DrawDrawable(OdGiDrawable pDrawable, bool bDragMode) {
91 }
92
93 public virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration, int iUserCounter) {
94 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_3(swigCPtr, OdDbFullSubentPath.getCPtr(dbPath), bDragMode, (int)eDecoration, iUserCounter);
96 }
97
98 public virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode, CFxViewDrawInfo.DrawDecoration eDecoration) {
99 PCADGlobalsPINVOKE.CFxTrackerContext_DrawDrawable__SWIG_4(swigCPtr, OdDbFullSubentPath.getCPtr(dbPath), bDragMode, (int)eDecoration);
101 }
102
103 public virtual void DrawDrawable(OdDbFullSubentPath dbPath, bool bDragMode) {
106 }
107
109 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxTrackerContext_GetFxInputPointManager(swigCPtr);
110 CFxInputPointManager ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxInputPointManager(cPtr, false);
112 return ret;
113 }
114
115 public virtual CFxDocument GetFxDocument() {
116 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxTrackerContext_GetFxDocument(swigCPtr);
117 CFxDocument ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxDocument(cPtr, false);
119 return ret;
120 }
121
122 public virtual UInt32 GetBackground() {
123// test csout
124 /*SIMPLETYPE*/
127 return ret;
128 }
129
130 public virtual UInt32 GetForeground() {
131// test csout
132 /*SIMPLETYPE*/
135 return ret;
136 }
137
138 public virtual void AllowRegenAbort(bool bVal) {
141 }
142
143 public virtual void CacheMe(CFxTracker pTracker, bool bAddToCache, int iPriority) {
144 PCADGlobalsPINVOKE.CFxTrackerContext_CacheMe(swigCPtr, CFxTracker.getCPtr(pTracker), bAddToCache, iPriority);
146 }
147
148 public virtual OdGiGeometry GetGiGeometry() {
149 OdGiGeometry ret = (OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),PCADGlobalsPINVOKE.CFxTrackerContext_GetGiGeometry(swigCPtr),false); /*createInt 3_2*/
150
152 return ret;
153}
154
155}
156
157}
virtual void AllowRegenAbort(bool bVal)
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(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_5(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
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_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, int jarg4)
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 void CFxTrackerContext_DrawDrawable__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3, int jarg4, int jarg5)
static UInt32 CFxTrackerContext_GetBackground(global::System.Runtime.InteropServices.HandleRef jarg1)
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_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, int jarg4, int jarg5)
static void CFxTrackerContext_DrawDrawable__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3, int jarg4)
static IntPtr CFxTrackerContext_GetGiGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxTrackerContext_DrawDrawable__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3)
static global::System.IntPtr CFxTrackerContext_GetFxDocument(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_CFxTrackerContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxTrackerContext_GetFxView__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25
static HandleRef getCPtr(OdDbFullSubentPath obj)