Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CFxVectorizeDevice.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
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public CFxVectorizeDevice(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxVectorizeDevice_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxVectorizeDevice obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 protected override void Dispose(bool disposing) {
32 lock(this) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
34 if (swigCMemOwn) {
35 swigCMemOwn = false;
37 }
38 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 base.Dispose(disposing);
41 }
42 }
43
44 public virtual CFxViewDrawContext CreateDrawContext(int iRenderEngine, int iRenderMode) {
45 IntPtr cPtr = PCADGlobalsPINVOKE.CFxVectorizeDevice_CreateDrawContext(swigCPtr, iRenderEngine, iRenderMode);
46 CFxViewDrawContext ret = (cPtr == IntPtr.Zero) ? null : new CFxViewDrawContext(cPtr, false);
48 return ret;
49 }
50
56
57 public new static OdRxClass desc() {
58 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxVectorizeDevice_desc(),false); /*createInt 3_2*/
59
61 return ret;
62}
63
64 public override OdRxClass isA() {
65 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxVectorizeDevice_isA(swigCPtr),false); /*createInt 3_2*/
66
68 return ret;
69}
70
71 public override OdRxObject queryX(OdRxClass protocolClass) {
72 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),PCADGlobalsPINVOKE.CFxVectorizeDevice_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
73
75 return ret;
76}
77
83
88
94
100
106
111
112 public virtual void Update(double width, double height, bool bAttachDatabase) {
113 PCADGlobalsPINVOKE.CFxVectorizeDevice_Update(swigCPtr, width, height, bAttachDatabase);
115 }
116
117 public virtual CFxDatabase GetFxDatabase() {
118 CFxDatabase ret = (CFxDatabase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(CFxDatabase),PCADGlobalsPINVOKE.CFxVectorizeDevice_GetFxDatabase__SWIG_0(swigCPtr),false); /*createInt 3_2*/
119
121 return ret;
122}
123
128
133
139
145
146 public virtual void SetPalette(UInt32[] /*array applied*/ pPalette) {
149 }
150
152 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxVectorizeDevice_GetPalette(swigCPtr);
153 SWIGTYPE_p_ODCOLORREF ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_ODCOLORREF(cPtr, false);
155 return ret;
156 }
157
162
163 public virtual void SetBackground(UInt32 color, bool usePlotPalette) {
164 PCADGlobalsPINVOKE.CFxVectorizeDevice_SetBackground__SWIG_1(swigCPtr, color /*SIMPLETYPE*/, usePlotPalette);
166 }
167
168 public virtual UInt32 GetBackground() {
169// test csout
170 /*SIMPLETYPE*/
173 return ret;
174 }
175
176 public virtual UInt32 GetForeground() {
177// test csout
178 /*SIMPLETYPE*/
181 return ret;
182 }
183
184 public virtual CFxView GetActiveFxView() {
185 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxVectorizeDevice_GetActiveFxView__SWIG_0(swigCPtr);
186 CFxView ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxView(cPtr, false);
188 return ret;
189 }
190
191 public virtual CFxView GetFxViewByCadWindowId(Int16 number) {
192 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxVectorizeDevice_GetFxViewByCadWindowId(swigCPtr, number /*SIMPLETYPE*/);
193 CFxView ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxView(cPtr, false);
195 return ret;
196 }
197
199 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxVectorizeDevice_GetPaperSpaceOverallView(swigCPtr);
200 CFxView ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxView(cPtr, false);
202 return ret;
203 }
204
205 public virtual CFxView HitTest(OdGsDCPoint ptInput) {
206 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxVectorizeDevice_HitTest(swigCPtr, OdGsDCPoint.getCPtr(ptInput));
207 CFxView ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxView(cPtr, false);
209 return ret;
210 }
211
217
222
227
233
238
243
249
255
260
265
271
277
278}
279
280}
static HandleRef getCPtr(CFxDeviceReactor obj)
virtual void SetBackground(UInt32 color, bool usePlotPalette)
virtual void SetUsePlotTransparency(bool value)
virtual SWIGTYPE_p_ODCOLORREF GetPalette()
static HandleRef getCPtr(CFxVectorizeDevice obj)
CFxVectorizeDevice(IntPtr cPtr, bool cMemoryOwn)
virtual void SetPalette(UInt32[] pPalette)
virtual void Update(double width, double height, bool bAttachDatabase)
static SWIGTYPE_p_OdSmartPtrT_CFxVectorizeDevice_t createObject()
virtual void SetRegeneration(bool bRegen)
override void Dispose(bool disposing)
virtual void SetBackground(UInt32 color)
override OdRxObject queryX(OdRxClass protocolClass)
virtual void DestroyDrawContext(CFxViewDrawContext arg0)
static void GetModelLineWeights(OdUInt8Array lweights, double scale)
virtual void SetPlotArea(OdGsDCRectDouble area)
virtual CFxViewDrawContext CreateDrawContext(int iRenderEngine, int iRenderMode)
virtual void AdjustBeforeUpdate(CFxViewDrawContext ctx, CFxViewDrawInfo rDrawInfo, CFxView view)
virtual void RemoveDeviceReactor(CFxDeviceReactor pReactor)
virtual CFxView HitTest(OdGsDCPoint ptInput)
virtual bool InitializeLayout(OdDbObjectId idLayout)
virtual void AddDeviceReactor(CFxDeviceReactor pReactor)
virtual CFxView GetFxViewByCadWindowId(Int16 number)
virtual bool GetPlotArea(OdGsDCRectDouble out_)
static SWIGTYPE_p_OdSmartPtrT_CFxVectorizeDevice_t cast(OdRxObject pObj)
static HandleRef getCPtr(CFxViewDrawContext obj)
static HandleRef getCPtr(CFxViewDrawInfo obj)
static HandleRef getCPtr(CFxView obj)
Definition CFxView.cs:27
static IntPtr CFxVectorizeDevice_desc()
static void CFxVectorizeDevice_GetModelLineWeights(IntPtr jarg1, double jarg2)
static void CFxVectorizeDevice_SetBackground__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static int CFxVectorizeDevice_GetCurrentRenderEngine(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxVectorizeDevice_GetLayoutId(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxVectorizeDevice_isA(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxVectorizeDevice_DestroyDrawContext(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr CFxVectorizeDevice_GetFxDatabase__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxVectorizeDevice_SetPalette(global::System.Runtime.InteropServices.HandleRef jarg1, [In, MarshalAs(UnmanagedType.LPArray)]UInt32[] jarg2)
static UInt32 CFxVectorizeDevice_GetForeground(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxVectorizeDevice_SetUsePlotTransparency(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void delete_CFxVectorizeDevice(global::System.Runtime.InteropServices.HandleRef jarg1)
static double CFxVectorizeDevice_GetDeviceWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 CFxVectorizeDevice_GetBackground(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxVectorizeDevice_CreateDrawContext(HandleRef jarg1, int jarg2, int jarg3)
static double CFxVectorizeDevice_GetDeviceHeight(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxVectorizeDevice_IsInitialUpdate(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxVectorizeDevice_InitializeLayout(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxVectorizeDevice_SetBackground__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static double CFxVectorizeDevice_GetPixelPerMM(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxVectorizeDevice_UsePlotTransparency(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxVectorizeDevice_DestroyLayout(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxVectorizeDevice_GetPlotArea__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxVectorizeDevice_Update(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, bool jarg4)
static bool CFxVectorizeDevice_IsRegeneration(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxVectorizeDevice_InvalidateGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxVectorizeDevice_GetPlotArea__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxVectorizeDevice_createObject()
static global::System.IntPtr CFxVectorizeDevice_GetPalette(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxVectorizeDevice_SetPlotArea(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxVectorizeDevice_GetActiveFxView__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxVectorizeDevice_AddDeviceReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxVectorizeDevice_GetFxViewByCadWindowId(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static void CFxVectorizeDevice_RemoveDeviceReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxVectorizeDevice_HitTest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxVectorizeDevice_AdjustBeforeUpdate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr CFxVectorizeDevice_cast(HandleRef jarg1)
static void CFxVectorizeDevice_SetRegeneration(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static IntPtr CFxVectorizeDevice_queryX(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr CFxVectorizeDevice_GetPaperSpaceOverallView(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGsDCPoint obj)
static HandleRef getCPtr(OdGsDCRectDouble obj)
static HandleRef getCPtr(OdRxClass obj)
Definition OdRxClass.cs:25
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
Definition OdRxObject.cs:21
static HandleRef getCPtr(OdRxObject obj)
Definition OdRxObject.cs:26
static HandleRef getCPtr(OdUInt8Array obj)
static HandleRef getCPtr(OdDbObjectId obj)