Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxViewDrawContext.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 CFxViewDrawContext : 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 CFxViewDrawContext(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(CFxViewDrawContext 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 void AdjustBeforeUpdate(CFxVectorizeDevice device, CFxViewDrawInfo rDrawInfo, CFxView view) {
56 }
57
58 public virtual void BeginUpdate(CFxViewDrawInfo rDrawInfo) {
61 }
62
63 public virtual void DrawObject(OdGiDrawable pDrawable) {
66 }
67
68 public virtual void EndUpdate() {
71 }
72
74 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxViewDrawContext_GetViewDrawInfo__SWIG_0(swigCPtr);
75 CFxViewDrawInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxViewDrawInfo(cPtr, false);
77 return ret;
78 }
79
80 public virtual void ClearBackground(UInt32 /*SIMPLETYPE*/ clearColor) {
81 PCADGlobalsPINVOKE.CFxViewDrawContext_ClearBackground(swigCPtr, clearColor /*SIMPLETYPE*/);
83 }
84
85 public virtual void SetClipPath(OdGePoint2dArray clip) {
88 }
89
90 public virtual OdGiGeometry GetGiGeometry() {
91 OdGiGeometry ret = (OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),PCADGlobalsPINVOKE.CFxViewDrawContext_GetGiGeometry(swigCPtr),false); /*createInt 3_2*/
92
94 return ret;
95}
96
97}
98
99}
static HandleRef getCPtr(CFxVectorizeDevice obj)
CFxViewDrawContext(IntPtr cPtr, bool cMemoryOwn)
virtual CFxViewDrawInfo GetViewDrawInfo()
virtual void DrawObject(OdGiDrawable pDrawable)
virtual void SetClipPath(OdGePoint2dArray clip)
virtual OdGiGeometry GetGiGeometry()
virtual void Dispose(bool disposing)
static HandleRef getCPtr(CFxViewDrawContext obj)
virtual void BeginUpdate(CFxViewDrawInfo rDrawInfo)
virtual void ClearBackground(UInt32 clearColor)
virtual void AdjustBeforeUpdate(CFxVectorizeDevice device, CFxViewDrawInfo rDrawInfo, CFxView view)
static HandleRef getCPtr(CFxViewDrawInfo obj)
static HandleRef getCPtr(CFxView obj)
Definition: CFxView.cs:27
static void CFxViewDrawContext_SetClipPath(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void CFxViewDrawContext_DrawObject(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static IntPtr CFxViewDrawContext_GetGiGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_CFxViewDrawContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxViewDrawContext_ClearBackground(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void CFxViewDrawContext_BeginUpdate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxViewDrawContext_EndUpdate(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxViewDrawContext_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 CFxViewDrawContext_GetViewDrawInfo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25