Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsDevice.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 Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdGsDevice : OdRxObject {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGsDevice(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGsDevice_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGsDevice obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public static OdGsDevice cast(OdRxObject pObj) {// OdSmartPtr<OdGsDevice>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
47 OdGsDevice ret = null;
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, true));
51 ret = (OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, false);
52 }
53 else
54 {
55 ret = (OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, true);
56 }
57
59 return ret;
60}
61
62 public new static OdRxClass desc() {
63 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdGsDevice_desc(),false); /*createInt 3_2*/
64
66 return ret;
67}
68
69 public override OdRxClass isA() {
70 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdGsDevice_isA(swigCPtr),false); /*createInt 3_2*/
71
73 return ret;
74}
75
76 public override OdRxObject queryX(OdRxClass protocolClass) {
77 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.OdGsDevice_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public static OdGsDevice createObject() {// OdSmartPtr<OdGsDevice>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
88 OdGsDevice ret = null;
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, true));
92 ret = (OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, false);
93 }
94 else
95 {
96 ret = (OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, true);
97 }
98
100 return ret;
101}
102
103 public virtual OdRxDictionary properties() {// OdRxDictionaryPtr
104 MemoryManager mMan = MemoryManager.GetMemoryManager();
105 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
106 IntPtr ptr = GlobalsPINVOKE.OdGsDevice_properties(swigCPtr);
107
108 OdRxDictionary ret = null;
109 if (null != mTrans)
110 {
111 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
112 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
113 }
114 else
115 {
116 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
117 }
118
120 return ret;
121}
122
123 public virtual OdGiContext userGiContext() {
124 OdGiContext ret = (OdGiContext)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiContext),GlobalsPINVOKE.OdGsDevice_userGiContext(swigCPtr),false); /*createInt 3_2*/
125
127 return ret;
128}
129
130 public virtual void setUserGiContext(OdGiContext pUserGiContext) {
133 }
134
135 public virtual void invalidate() {
138 }
139
140 public virtual void invalidate(OdGsDCRect screenRect) {
143 }
144
145 public virtual bool isValid() {
146 bool ret = GlobalsPINVOKE.OdGsDevice_isValid(swigCPtr);
148 return ret;
149 }
150
151 public virtual void update(OdGsDCRect pUpdatedRect) {
154 }
155
156 public virtual void update() {
159 }
160
161 public virtual void onSize(OdGsDCRect outputRect) {
164 }
165
166 public virtual void onSize(OdGsDCRectDouble outputRect) {
169 }
170
171 public virtual void getSize(OdGsDCRect outputRect) {
174 }
175
176 public virtual void getSize(OdGsDCRectDouble outputRect) {
179 }
180
181 public virtual void onRealizeForegroundPalette() {
184 }
185
186 public virtual void onRealizeBackgroundPalette() {
189 }
190
191 public virtual void onDisplayChange(int bitsPerPixel, int xPixels, int yPixels) {
192 GlobalsPINVOKE.OdGsDevice_onDisplayChange(swigCPtr, bitsPerPixel, xPixels, yPixels);
194 }
195
196 public virtual OdGsView createView(OdGsClientViewInfo pViewInfo, bool enableLayerVisibilityPerView) {// OdGsViewPtr
197 MemoryManager mMan = MemoryManager.GetMemoryManager();
198 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
199 IntPtr ptr = GlobalsPINVOKE.OdGsDevice_createView__SWIG_0(swigCPtr, OdGsClientViewInfo.getCPtr(pViewInfo), enableLayerVisibilityPerView);
200
201 OdGsView ret = null;
202 if (null != mTrans)
203 {
204 mTrans.AddObject((OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, true));
205 ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, false);
206 }
207 else
208 {
209 ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, true);
210 }
211
213 return ret;
214}
215
216 public virtual OdGsView createView(OdGsClientViewInfo pViewInfo) {// OdGsViewPtr
217 MemoryManager mMan = MemoryManager.GetMemoryManager();
218 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
220
221 OdGsView ret = null;
222 if (null != mTrans)
223 {
224 mTrans.AddObject((OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, true));
225 ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, false);
226 }
227 else
228 {
229 ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, true);
230 }
231
233 return ret;
234}
235
236 public virtual OdGsView createView() {// OdGsViewPtr
237 MemoryManager mMan = MemoryManager.GetMemoryManager();
238 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
239 IntPtr ptr = GlobalsPINVOKE.OdGsDevice_createView__SWIG_2(swigCPtr);
240
241 OdGsView ret = null;
242 if (null != mTrans)
243 {
244 mTrans.AddObject((OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, true));
245 ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, false);
246 }
247 else
248 {
249 ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),ptr, true);
250 }
251
253 return ret;
254}
255
256 public virtual void addView(OdGsView pView) {
259 }
260
261 public virtual OdGsModel createModel() {// OdGsModelPtr
262 MemoryManager mMan = MemoryManager.GetMemoryManager();
263 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
264 IntPtr ptr = GlobalsPINVOKE.OdGsDevice_createModel(swigCPtr);
265
266 OdGsModel ret = null;
267 if (null != mTrans)
268 {
269 mTrans.AddObject((OdGsModel)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsModel),ptr, true));
270 ret = (OdGsModel)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsModel),ptr, false);
271 }
272 else
273 {
274 ret = (OdGsModel)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsModel),ptr, true);
275 }
276
278 return ret;
279}
280
281 public virtual bool isModelCompatible(OdGsModel pModel) {
282 bool ret = GlobalsPINVOKE.OdGsDevice_isModelCompatible(swigCPtr, OdGsModel.getCPtr(pModel));
284 return ret;
285 }
286
287 public virtual bool saveDeviceState(OdGsFiler pFiler) {
288 bool ret = GlobalsPINVOKE.OdGsDevice_saveDeviceState(swigCPtr, OdGsFiler.getCPtr(pFiler));
290 return ret;
291 }
292
293 public virtual bool loadDeviceState(OdGsFiler pFiler) {
294 bool ret = GlobalsPINVOKE.OdGsDevice_loadDeviceState(swigCPtr, OdGsFiler.getCPtr(pFiler));
296 return ret;
297 }
298
299 public virtual void insertView(int viewIndex, OdGsView pView) {
300 GlobalsPINVOKE.OdGsDevice_insertView(swigCPtr, viewIndex, OdGsView.getCPtr(pView));
302 }
303
304 public virtual bool eraseView(OdGsView pView) {
305 bool ret = GlobalsPINVOKE.OdGsDevice_eraseView__SWIG_0(swigCPtr, OdGsView.getCPtr(pView));
307 return ret;
308 }
309
310 public virtual bool eraseView(int viewIndex) {
311 bool ret = GlobalsPINVOKE.OdGsDevice_eraseView__SWIG_1(swigCPtr, viewIndex);
313 return ret;
314 }
315
316 public virtual void eraseAllViews() {
319 }
320
321 public virtual int numViews() {
322 int ret = GlobalsPINVOKE.OdGsDevice_numViews(swigCPtr);
324 return ret;
325 }
326
327 public virtual OdGsView viewAt(int viewIndex) {
328 OdGsView ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),GlobalsPINVOKE.OdGsDevice_viewAt(swigCPtr, viewIndex),false); /*createInt 3_2*/
329
331 return ret;
332}
333
334 public virtual bool setBackgroundColor(UInt32 /*SIMPLETYPE*/ backgroundColor) {
335 bool ret = GlobalsPINVOKE.OdGsDevice_setBackgroundColor(swigCPtr, backgroundColor /*SIMPLETYPE*/);
337 return ret;
338 }
339
340 public virtual UInt32 getBackgroundColor() {
341// test csout
342 /*SIMPLETYPE*/
343 UInt32 ret = GlobalsPINVOKE.OdGsDevice_getBackgroundColor(swigCPtr);
345 return ret;
346 }
347
348 public virtual void setLogicalPalette(UInt32[] /*array applied*/ logicalPalette, int numColors) {
349 GlobalsPINVOKE.OdGsDevice_setLogicalPalette(swigCPtr, logicalPalette, numColors);
351 }
352
353 public virtual UInt32[] /*array applied*/ getLogicalPalette(out int numColors) {
354 IntPtr ret_ptr = GlobalsPINVOKE.OdGsDevice_getLogicalPalette(swigCPtr, out numColors);
356 if (ret_ptr == IntPtr.Zero)
357 return null;
358 int arrayLength = 257;
359 Int32[] ret_tmp_result = new Int32[arrayLength];
360 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
361
362 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
363 return result;
364}
365
366 public virtual void getSnapShot(ref OdGiRasterImage /*OUT_PARAM for SMARTPTR*/ pImage, OdGsDCRect region) {
367 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pImage = pImage == null ? IntPtr.Zero : OdGiRasterImage.getCPtr(pImage).Handle;
368 IntPtr saved_pImage = tmp_pImage;
369 /*OUT_PARAM for SMARTPTR pre*/
370 try {
371 GlobalsPINVOKE.OdGsDevice_getSnapShot(swigCPtr, ref tmp_pImage /*OUT_PARAM for SMARTPTR*/, OdGsDCRect.getCPtr(region));
373 } finally {
374if(tmp_pImage == IntPtr.Zero) pImage = null;
375 if(tmp_pImage != IntPtr.Zero && tmp_pImage != saved_pImage)
376 {
377 MemoryTransaction mTrans_pImage = MemoryManager.GetMemoryManager().GetCurrentTransaction();
378 if(mTrans_pImage != null)
379 mTrans_pImage.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGiRasterImage>(typeof(OdGiRasterImage), tmp_pImage, true));
380 pImage = Teigha.Core.Helpers.odCreateObjectInternal<OdGiRasterImage>(typeof(OdGiRasterImage), tmp_pImage, mTrans_pImage == null);
381 /*OUT_PARAM for SMARTPTR*/
382 }
383 }
384 }
385
386 public virtual OdGsUpdateManager getUpdateManager(bool createIfNotExist) {// OdGsUpdateManagerPtr
387 MemoryManager mMan = MemoryManager.GetMemoryManager();
388 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
389 IntPtr ptr = GlobalsPINVOKE.OdGsDevice_getUpdateManager__SWIG_0(swigCPtr, createIfNotExist);
390
391 OdGsUpdateManager ret = null;
392 if (null != mTrans)
393 {
394 mTrans.AddObject((OdGsUpdateManager)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsUpdateManager),ptr, true));
395 ret = (OdGsUpdateManager)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsUpdateManager),ptr, false);
396 }
397 else
398 {
399 ret = (OdGsUpdateManager)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsUpdateManager),ptr, true);
400 }
401
403 return ret;
404}
405
406 public virtual OdGsUpdateManager getUpdateManager() {// OdGsUpdateManagerPtr
407 MemoryManager mMan = MemoryManager.GetMemoryManager();
408 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
410
411 OdGsUpdateManager ret = null;
412 if (null != mTrans)
413 {
414 mTrans.AddObject((OdGsUpdateManager)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsUpdateManager),ptr, true));
415 ret = (OdGsUpdateManager)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsUpdateManager),ptr, false);
416 }
417 else
418 {
419 ret = (OdGsUpdateManager)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsUpdateManager),ptr, true);
420 }
421
423 return ret;
424}
425
426 public virtual void setUpdateManager(OdGsUpdateManager pManager) {
429 }
430
431 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
432 string ret = GlobalsPINVOKE.OdGsDevice_getRealClassName(ptr /*SIMPLETYPE*/);
434 return ret;
435 }
436
441 public virtual Teigha.Core.OdRxDictionary vb_properties() { return this.properties(); }
442
443}
444
445}
static global::System.Exception Retrieve()
static IntPtr OdGsDevice_cast(HandleRef jarg1)
static void OdGsDevice_onSize__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGsDevice_viewAt(HandleRef jarg1, int jarg2)
static IntPtr OdGsDevice_createView__SWIG_2(HandleRef jarg1)
static int OdGsDevice_numViews(HandleRef jarg1)
static void OdGsDevice_onRealizeForegroundPalette(HandleRef jarg1)
static IntPtr OdGsDevice_createView__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsDevice_setUpdateManager(HandleRef jarg1, HandleRef jarg2)
static bool OdGsDevice_saveDeviceState(HandleRef jarg1, HandleRef jarg2)
static void OdGsDevice_getSize__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsDevice_update__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsDevice_invalidate__SWIG_0(HandleRef jarg1)
static void OdGsDevice_setLogicalPalette(HandleRef jarg1, [In, MarshalAs(UnmanagedType.LPArray)]UInt32[] jarg2, int jarg3)
static bool OdGsDevice_isModelCompatible(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGsDevice_userGiContext(HandleRef jarg1)
static bool OdGsDevice_loadDeviceState(HandleRef jarg1, HandleRef jarg2)
static void OdGsDevice_setUserGiContext(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGsDevice_desc()
static string OdGsDevice_getRealClassName(IntPtr jarg1)
static IntPtr OdGsDevice_createView__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void OdGsDevice_addView(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGsDevice_createModel(HandleRef jarg1)
static UInt32 OdGsDevice_getBackgroundColor(HandleRef jarg1)
static void delete_OdGsDevice(HandleRef jarg1)
static IntPtr OdGsDevice_getUpdateManager__SWIG_1(HandleRef jarg1)
static void OdGsDevice_eraseAllViews(HandleRef jarg1)
static IntPtr OdGsDevice_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGsDevice_createObject()
static bool OdGsDevice_setBackgroundColor(HandleRef jarg1, UInt32 jarg2)
static IntPtr OdGsDevice_properties(HandleRef jarg1)
static void OdGsDevice_invalidate__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsDevice_onRealizeBackgroundPalette(HandleRef jarg1)
static void OdGsDevice_getSize__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsDevice_getSnapShot(HandleRef jarg1, ref IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGsDevice_isA(HandleRef jarg1)
static void OdGsDevice_onDisplayChange(HandleRef jarg1, int jarg2, int jarg3, int jarg4)
static bool OdGsDevice_eraseView__SWIG_1(HandleRef jarg1, int jarg2)
static IntPtr OdGsDevice_getLogicalPalette(HandleRef jarg1, out int jarg2)
static void OdGsDevice_insertView(HandleRef jarg1, int jarg2, HandleRef jarg3)
static void OdGsDevice_onSize__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGsDevice_eraseView__SWIG_0(HandleRef jarg1, HandleRef jarg2)
static bool OdGsDevice_isValid(HandleRef jarg1)
static void OdGsDevice_update__SWIG_1(HandleRef jarg1)
static IntPtr OdGsDevice_getUpdateManager__SWIG_0(HandleRef jarg1, bool jarg2)
static HandleRef getCPtr(OdGiContext obj)
Definition: OdGiContext.cs:25
static HandleRef getCPtr(OdGiRasterImage obj)
static HandleRef getCPtr(OdGsClientViewInfo obj)
static HandleRef getCPtr(OdGsDCRectDouble obj)
static HandleRef getCPtr(OdGsDCRect obj)
Definition: OdGsDCRect.cs:26
virtual bool isModelCompatible(OdGsModel pModel)
Definition: OdGsDevice.cs:281
virtual void onSize(OdGsDCRectDouble outputRect)
Definition: OdGsDevice.cs:166
virtual void onDisplayChange(int bitsPerPixel, int xPixels, int yPixels)
Definition: OdGsDevice.cs:191
virtual void onRealizeForegroundPalette()
Definition: OdGsDevice.cs:181
static string getRealClassName(IntPtr ptr)
Definition: OdGsDevice.cs:431
virtual void onRealizeBackgroundPalette()
Definition: OdGsDevice.cs:186
virtual OdGiContext userGiContext()
Definition: OdGsDevice.cs:123
override void Dispose(bool disposing)
Definition: OdGsDevice.cs:29
virtual bool setBackgroundColor(UInt32 backgroundColor)
Definition: OdGsDevice.cs:334
virtual OdGsView viewAt(int viewIndex)
Definition: OdGsDevice.cs:327
virtual Teigha.Core.OdRxDictionary vb_properties()
Definition: OdGsDevice.cs:441
virtual OdGsView createView(OdGsClientViewInfo pViewInfo, bool enableLayerVisibilityPerView)
Definition: OdGsDevice.cs:196
OdGsDevice(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGsDevice.cs:20
override OdRxObject queryX(OdRxClass protocolClass)
Definition: OdGsDevice.cs:76
static new OdRxClass desc()
Definition: OdGsDevice.cs:62
virtual OdGsUpdateManager getUpdateManager(bool createIfNotExist)
Definition: OdGsDevice.cs:386
virtual bool saveDeviceState(OdGsFiler pFiler)
Definition: OdGsDevice.cs:287
virtual bool eraseView(int viewIndex)
Definition: OdGsDevice.cs:310
virtual OdRxDictionary properties()
Definition: OdGsDevice.cs:103
virtual void setUpdateManager(OdGsUpdateManager pManager)
Definition: OdGsDevice.cs:426
virtual bool eraseView(OdGsView pView)
Definition: OdGsDevice.cs:304
virtual void getSnapShot(ref OdGiRasterImage pImage, OdGsDCRect region)
Definition: OdGsDevice.cs:366
virtual void onSize(OdGsDCRect outputRect)
Definition: OdGsDevice.cs:161
static OdGsDevice cast(OdRxObject pObj)
Definition: OdGsDevice.cs:42
virtual void eraseAllViews()
Definition: OdGsDevice.cs:316
virtual OdGsView createView()
Definition: OdGsDevice.cs:236
virtual void invalidate(OdGsDCRect screenRect)
Definition: OdGsDevice.cs:140
override OdRxClass isA()
Definition: OdGsDevice.cs:69
static OdGsDevice createObject()
Definition: OdGsDevice.cs:83
virtual int numViews()
Definition: OdGsDevice.cs:321
virtual bool loadDeviceState(OdGsFiler pFiler)
Definition: OdGsDevice.cs:293
virtual void getSize(OdGsDCRectDouble outputRect)
Definition: OdGsDevice.cs:176
virtual OdGsModel createModel()
Definition: OdGsDevice.cs:261
virtual UInt32 getBackgroundColor()
Definition: OdGsDevice.cs:340
virtual bool isValid()
Definition: OdGsDevice.cs:145
virtual void setLogicalPalette(UInt32[] logicalPalette, int numColors)
Definition: OdGsDevice.cs:348
virtual void setUserGiContext(OdGiContext pUserGiContext)
Definition: OdGsDevice.cs:130
static HandleRef getCPtr(OdGsDevice obj)
Definition: OdGsDevice.cs:25
virtual void addView(OdGsView pView)
Definition: OdGsDevice.cs:256
virtual OdGsUpdateManager getUpdateManager()
Definition: OdGsDevice.cs:406
virtual void invalidate()
Definition: OdGsDevice.cs:135
virtual void getSize(OdGsDCRect outputRect)
Definition: OdGsDevice.cs:171
virtual void update()
Definition: OdGsDevice.cs:156
virtual void update(OdGsDCRect pUpdatedRect)
Definition: OdGsDevice.cs:151
virtual void insertView(int viewIndex, OdGsView pView)
Definition: OdGsDevice.cs:299
virtual UInt32[] getLogicalPalette(out int numColors)
Definition: OdGsDevice.cs:353
virtual OdGsView createView(OdGsClientViewInfo pViewInfo)
Definition: OdGsDevice.cs:216
static HandleRef getCPtr(OdGsFiler obj)
Definition: OdGsFiler.cs:25
static HandleRef getCPtr(OdGsModel obj)
Definition: OdGsModel.cs:25
static HandleRef getCPtr(OdGsUpdateManager obj)
static HandleRef getCPtr(OdGsView obj)
Definition: OdGsView.cs:25
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26