14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 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);
75IntPtr p_colors=
Teigha.
Core.Helpers.MarshalPalette(colors);
80Marshal.FreeCoTaskMem(p_colors);
99 public void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 nColors) {
114 public void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 color4, UInt32 nColors) {
129 public void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 color4, UInt32 color5, UInt32 nColors) {
135 GlobalsPINVOKE.
OdGiGradientGenerator_createGradient__SWIG_10(swigCPtr, color1 , color2 , color3 , color4 , color5 , nColors , (
int)ipl1, (
int)ipl2, (
int)ipl3, (
int)ipl4);
static global::System.Exception Retrieve()
static void OdGiGradientGenerator_createGradient__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, int jarg5)
static IntPtr OdGiGradientGenerator_asArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiGradientGenerator_createGradient__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, UInt32 jarg6, UInt32 jarg7, int jarg8)
static void OdGiGradientGenerator_createGradient__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, int jarg6, int jarg7)
static void OdGiGradientGenerator_generateInterval__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, int jarg6)
static UInt32 OdGiGradientGenerator_colorAt__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void delete_OdGiGradientGenerator(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiGradientGenerator_setAddressMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiGradientGenerator_generateInterval__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, double jarg4, double jarg5)
static void OdGiGradientGenerator_generateInterval__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3)
static void OdGiGradientGenerator_generateInterval__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, double jarg4, double jarg5, int jarg6)
static void OdGiGradientGenerator_createGradient__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, UInt32 jarg6, int jarg7)
static void OdGiGradientGenerator_generateInterval__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, double jarg4)
static void OdGiGradientGenerator_createGradient__SWIG_9(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, UInt32 jarg6, UInt32 jarg7)
static global::System.IntPtr OdGiGradientGenerator_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGradientGenerator_generateInterval__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5)
static void OdGiGradientGenerator_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGradientGenerator_createGradient__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, UInt32 jarg6)
static global::System.IntPtr OdGiGradientGenerator_createSpectrumGradient__SWIG_1(UInt32 jarg1)
static void OdGiGradientGenerator_appendGradient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGradientGenerator_createColorArrayFilled(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3)
static int OdGiGradientGenerator_addressMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiGradientGenerator_fillInterval__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4)
static void OdGiGradientGenerator_createGradient__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5)
static void OdGiGradientGenerator_fillInterval__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, double jarg3)
static void OdGiGradientGenerator_copyGradient__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdGiGradientGenerator_createGradient__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, UInt32 jarg6, int jarg7, int jarg8, int jarg9)
static void OdGiGradientGenerator_fillInterval__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, double jarg3, double jarg4)
static void OdGiGradientGenerator_createColorArray(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static bool OdGiGradientGenerator_isInitialized(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiGradientGenerator_interpolateColor__SWIG_2(UInt32 jarg1, UInt32 jarg2, double jarg3)
static void OdGiGradientGenerator_createGradient__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, int jarg6)
static void OdGiGradientGenerator_createGradient__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4)
static UInt32 OdGiGradientGenerator_colorAt__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static UInt32 OdGiGradientGenerator_interpolateColor__SWIG_0(UInt32 jarg1, UInt32 jarg2, double jarg3, int jarg4, int jarg5)
static UInt32 OdGiGradientGenerator_interpolateColor__SWIG_1(UInt32 jarg1, UInt32 jarg2, double jarg3, int jarg4)
static void OdGiGradientGenerator_createGradient__SWIG_10(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3, UInt32 jarg4, UInt32 jarg5, UInt32 jarg6, UInt32 jarg7, int jarg8, int jarg9, int jarg10, int jarg11)
static void OdGiGradientGenerator_fillInterval__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static UInt32 OdGiGradientGenerator_colorsCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiGradientGenerator_createSpectrumGradient__SWIG_0(UInt32 jarg1, byte jarg2)
static void OdGiGradientGenerator_copyGradient__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 color4, UInt32 nColors)
static UInt32 interpolateColor(UInt32 color1, UInt32 color2, double at, OdGiGradientGenerator.InterpolationType ipl)
static UInt32 interpolateColor(UInt32 color1, UInt32 color2, double at, OdGiGradientGenerator.InterpolationType ipl, OdGiGradientGenerator.AddressMode mode)
void copyGradient(UInt32[] colors)
void generateInterval(UInt32 color1, UInt32 color2)
void createColorArray(UInt32 nColors)
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 color4, UInt32 color5, UInt32 nColors)
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 nColors, OdGiGradientGenerator.InterpolationType ipl)
OdGiGradientGenerator.AddressMode addressMode()
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 nColors, OdGiGradientGenerator.InterpolationType ipl1, OdGiGradientGenerator.InterpolationType ipl2)
void generateInterval(UInt32 color1, UInt32 color2, double from)
void generateInterval(UInt32 color1, UInt32 color2, UInt32 from, UInt32 to, OdGiGradientGenerator.InterpolationType ipl)
static UInt32 interpolateColor(UInt32 color1, UInt32 color2, double at)
void generateInterval(UInt32 color1, UInt32 color2, double from, double to, OdGiGradientGenerator.InterpolationType ipl)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(OdGiGradientGenerator obj)
void createColorArrayFilled(UInt32 color, UInt32 nColors)
OdGiGradientGenerator Assign(OdGiGradientGenerator other)
void fillInterval(UInt32 color)
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 color4, UInt32 nColors, OdGiGradientGenerator.InterpolationType ipl1, OdGiGradientGenerator.InterpolationType ipl2, OdGiGradientGenerator.InterpolationType ipl3)
void createGradient(UInt32 color1, UInt32 color2, UInt32 nColors)
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 color4, UInt32 color5, UInt32 nColors, OdGiGradientGenerator.InterpolationType ipl)
UInt32 colorAt(double at)
Teigha.Core.OdGiGradientGenerator.AddressMode vb_addressMode()
OdGiGradientGenerator(IntPtr cPtr, bool cMemoryOwn)
void generateInterval(UInt32 color1, UInt32 color2, UInt32 from, UInt32 to)
static OdGiGradientGenerator createSpectrumGradient(UInt32 nColors)
void fillInterval(UInt32 color, double from)
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 color4, UInt32 color5, UInt32 nColors, OdGiGradientGenerator.InterpolationType ipl1, OdGiGradientGenerator.InterpolationType ipl2, OdGiGradientGenerator.InterpolationType ipl3, OdGiGradientGenerator.InterpolationType ipl4)
void setAddressMode(OdGiGradientGenerator.AddressMode mode)
UInt32 colorAt(UInt32 nColor)
void Add(OdGiGradientGenerator other)
void generateInterval(UInt32 color1, UInt32 color2, double from, double to)
void fillInterval(UInt32 color, UInt32 from, UInt32 to)
void copyGradient(OdUInt32Array other)
void fillInterval(UInt32 color, double from, double to)
void appendGradient(OdGiGradientGenerator other)
OdGiGradientGenerator(OdGiGradientGenerator other)
static OdGiGradientGenerator createSpectrumGradient(UInt32 nColors, byte alpha)
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 color4, UInt32 nColors, OdGiGradientGenerator.InterpolationType ipl)
void createGradient(UInt32 color1, UInt32 color2, UInt32 color3, UInt32 nColors)
void createGradient(UInt32 color1, UInt32 color2, UInt32 nColors, OdGiGradientGenerator.InterpolationType ipl)
static HandleRef getCPtr(OdUInt32Array obj)