14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
36 global::System.GC.SuppressFinalize(
this);
39 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
46 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
52 private Object locker =
new Object();
53 private HandleRef swigCPtr;
55 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
58 swigCPtr =
new HandleRef(
this, cPtr);
60 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
62 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
71 global::System.GC.SuppressFinalize(
this);
74 protected virtual void Dispose(
bool disposing) {
76 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
81 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
128 public Addressation(Int32 nFrom, Int32 nTo, Int32 nNum) : this(
GlobalsPINVOKE.new_OdGiPalette_Addressation__SWIG_0(nFrom , nTo , nNum ), true) {
159 MemoryManager mMan = MemoryManager.GetMemoryManager();
160 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
186 MemoryManager mMan = MemoryManager.GetMemoryManager();
187 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
206 MemoryManager mMan = MemoryManager.GetMemoryManager();
207 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
252 if (ret_ptr == IntPtr.Zero)
254 int arrayLength = 257;
255 Int32[] ret_tmp_result =
new Int32[arrayLength];
256 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
258 UInt32[] result =
Array.ConvertAll<Int32,UInt32>(ret_tmp_result,
new Converter<Int32, UInt32>((in_value) => {
return (UInt32)in_value; }));
static global::System.Exception Retrieve()
static bool OdGiPalette_install__SWIG_5(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static string OdGiPalette_getRealClassName(IntPtr jarg1)
static UInt32 OdGiPalette_color(HandleRef jarg1, Int32 jarg2)
static bool OdGiPalette_install__SWIG_9(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiPalette_asArray(HandleRef jarg1)
static IntPtr OdGiPalette_cloneIfNeed(HandleRef jarg1)
static bool OdGiPalette_isEqualTo__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static Int32 OdGiPalette_Addressation_m_nDstTo_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPalette_setColor(HandleRef jarg1, Int32 jarg2, UInt32 jarg3)
static IntPtr OdGiPalette_grayRamp(HandleRef jarg1)
static void OdGiPalette_setColorCube(HandleRef jarg1, HandleRef jarg2)
static void OdGiPalette_resetColorCube(HandleRef jarg1)
static Int32 OdGiPalette_firstAvailableBlock(HandleRef jarg1, Int32 jarg2)
static bool OdGiPalette_isEqualTo__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGiPalette_install__SWIG_4(HandleRef jarg1, HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdGiPalette_Assign(HandleRef jarg1, HandleRef jarg2)
static bool OdGiPalette_install__SWIG_7(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGiPalette_remove__SWIG_1(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static void OdGiPalette_clear(HandleRef jarg1)
static bool OdGiPalette_install__SWIG_0(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static IntPtr OdGiPalette_colorCube(HandleRef jarg1)
static bool OdGiPalette_remove__SWIG_2(HandleRef jarg1, HandleRef jarg2)
static void OdGiPalette_resetGrayRamp(HandleRef jarg1)
static bool OdGiPalette_Addressation_fullRange(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPalette_Addressation_m_nSrcFrom_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static bool OdGiPalette_Addressation_validate(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiPalette_install__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static bool OdGiPalette_install__SWIG_8(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static IntPtr OdGiPalette_createDynamic()
static Int32 OdGiPalette_closestMatch__SWIG_1(HandleRef jarg1, UInt32 jarg2)
static void delete_OdGiPalette(HandleRef jarg1)
static void OdGiPalette_setGrayRamp(HandleRef jarg1, HandleRef jarg2)
static bool OdGiPalette_remove__SWIG_0(HandleRef jarg1, HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGiPalette_install__SWIG_6(HandleRef jarg1, HandleRef jarg2)
static bool OdGiPalette_install__SWIG_3(HandleRef jarg1, HandleRef jarg2)
static void OdGiPalette_Addressation_m_nNumColors_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static Int32 OdGiPalette_Addressation_m_nNumColors_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiPalette_install__SWIG_2(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static void OdGiPalette_setEntryActivity(HandleRef jarg1, Int32 jarg2, bool jarg3)
static void delete_OdGiPalette_Addressation(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int32 OdGiPalette_Addressation_m_nSrcFrom_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiPalette_Addressation_m_nDstTo_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static IntPtr OdGiPalette_clone(HandleRef jarg1)
static Int32 OdGiPalette_closestMatch__SWIG_0(HandleRef jarg1, UInt32 jarg2, bool jarg3)
static bool OdGiPalette_entryActivity(HandleRef jarg1, Int32 jarg2)
static HandleRef getCPtr(OdGiColorCube obj)
static HandleRef getCPtr(OdGiGrayRamp obj)
Addressation(Int32 nFrom, Int32 nTo)
Addressation(Int32 nFrom, Int32 nTo, Int32 nNum)
Addressation(Int32 nFrom)
Addressation(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(Addressation obj)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(OdGiPalette obj)
bool isEqualTo(OdGiPalette pPalette)
UInt32 color(Int32 nColor)
void setColor(Int32 nColor, UInt32 color)
Int32 firstAvailableBlock(Int32 blockSize)
bool install(OdGiColorCube pColorCube, bool bForceUpdate)
bool install(SWIGTYPE_p_ODCOLORREF pColors, bool bForceUpdate, OdGiPalette.Addressation address)
bool install(OdGiColorCube pColorCube)
void setColorCube(OdGiColorCube pColorCube)
static OdGiPalette createDynamic()
bool install(SWIGTYPE_p_ODCOLORREF pColors, bool bForceUpdate)
bool install(OdGiGrayRamp pGrayRamp, bool bForceUpdate)
Int32 closestMatch(UInt32 cref)
OdGiPalette cloneIfNeed()
static string getRealClassName(IntPtr ptr)
bool install(SWIGTYPE_p_ODCOLORREF pColors)
bool install(OdGiGrayRamp pGrayRamp)
bool install(OdGiPalette pPalette, bool bForceUpdate)
OdGiColorCube colorCube()
Int32 closestMatch(UInt32 cref, bool bThroughPal)
void setGrayRamp(OdGiGrayRamp pGrayRamp)
bool entryActivity(Int32 nColor)
OdGiPalette(IntPtr cPtr, bool cMemoryOwn)
bool install(OdGiPalette pPalette, bool bForceUpdate, OdGiPalette.Addressation address)
bool install(OdGiPalette pPalette)
OdGiPalette Assign(OdGiPalette obj)
virtual OdRxObject clone()
void setEntryActivity(Int32 nColor, bool bActivity)
virtual void Dispose(bool disposing)
bool isEqualTo(OdGiPalette pPalette, OdGiPalette.Addressation address)