14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
104 MemoryManager mMan = MemoryManager.GetMemoryManager();
105 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
124 MemoryManager mMan = MemoryManager.GetMemoryManager();
125 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
144 MemoryManager mMan = MemoryManager.GetMemoryManager();
145 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
164 MemoryManager mMan = MemoryManager.GetMemoryManager();
165 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
184 MemoryManager mMan = MemoryManager.GetMemoryManager();
185 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
309 kBMP = (((long) (0x20) << 24)|((
long) (0x50) << 16)|((long) (0x4D) << 8)|((
long) (0x42))),
310 kICO = (((
long) (0x20) << 24)|((long) (0x4F) << 16)|((
long) (0x43) << 8)|((long) (0x49))),
311 kJPEG = (((long) (0x47) << 24)|((
long) (0x45) << 16)|((long) (0x50) << 8)|((
long) (0x4A))),
312 kJNG = (((
long) (0x20) << 24)|((long) (0x47) << 16)|((
long) (0x4E) << 8)|((long) (0x4A))),
313 kKOALA = (((long) (0x4C) << 24)|((
long) (0x41) << 16)|((long) (0x4F) << 8)|((
long) (0x4B))),
314 kLBM = (((
long) (0x20) << 24)|((long) (0x4D) << 16)|((
long) (0x42) << 8)|((long) (0x4C))),
316 kMNG = (((long) (0x20) << 24)|((
long) (0x47) << 16)|((long) (0x4E) << 8)|((
long) (0x4D))),
317 kPBM = (((
long) (0x20) << 24)|((long) (0x4D) << 16)|((
long) (0x42) << 8)|((long) (0x50))),
318 kPBMRAW = (((long) (0x52) << 24)|((
long) (0x4D) << 16)|((long) (0x42) << 8)|((
long) (0x50))),
319 kPCD = (((
long) (0x20) << 24)|((long) (0x44) << 16)|((
long) (0x43) << 8)|((long) (0x50))),
320 kPCX = (((long) (0x20) << 24)|((
long) (0x58) << 16)|((long) (0x43) << 8)|((
long) (0x50))),
321 kPGM = (((
long) (0x20) << 24)|((long) (0x4D) << 16)|((
long) (0x47) << 8)|((long) (0x50))),
322 kPGMRAW = (((long) (0x52) << 24)|((
long) (0x4D) << 16)|((long) (0x47) << 8)|((
long) (0x50))),
323 kPNG = (((
long) (0x20) << 24)|((long) (0x47) << 16)|((
long) (0x4E) << 8)|((long) (0x50))),
324 kPPM = (((long) (0x20) << 24)|((
long) (0x4D) << 16)|((long) (0x50) << 8)|((
long) (0x50))),
325 kPPMRAW = (((
long) (0x52) << 24)|((long) (0x4D) << 16)|((
long) (0x50) << 8)|((long) (0x50))),
326 kRAS = (((long) (0x20) << 24)|((
long) (0x53) << 16)|((long) (0x41) << 8)|((
long) (0x52))),
327 kTARGA = (((
long) (0x20) << 24)|((long) (0x41) << 16)|((
long) (0x47) << 8)|((long) (0x54))),
328 kTIFF = (((long) (0x46) << 24)|((
long) (0x46) << 16)|((long) (0x49) << 8)|((
long) (0x54))),
329 kWBMP = (((
long) (0x50) << 24)|((long) (0x4D) << 16)|((
long) (0x42) << 8)|((long) (0x57))),
330 kPSD = (((long) (0x20) << 24)|((
long) (0x44) << 16)|((long) (0x53) << 8)|((
long) (0x50))),
331 kCUT = (((
long) (0x20) << 24)|((long) (0x54) << 16)|((
long) (0x55) << 8)|((long) (0x43))),
332 kXBM = (((long) (0x20) << 24)|((
long) (0x4D) << 16)|((long) (0x42) << 8)|((
long) (0x58))),
333 kXPM = (((
long) (0x20) << 24)|((long) (0x4D) << 16)|((
long) (0x50) << 8)|((long) (0x58))),
334 kDDS = (((long) (0x20) << 24)|((
long) (0x53) << 16)|((long) (0x44) << 8)|((
long) (0x44))),
335 kGIF = (((
long) (0x20) << 24)|((long) (0x46) << 16)|((
long) (0x49) << 8)|((long) (0x47))),
336 kHDR = (((long) (0x20) << 24)|((
long) (0x52) << 16)|((long) (0x44) << 8)|((
long) (0x48))),
337 kFAXG3 = (((
long) (0x33) << 24)|((long) (0x47) << 16)|((
long) (0x58) << 8)|((long) (0x46))),
338 kSGI = (((long) (0x20) << 24)|((
long) (0x49) << 16)|((long) (0x47) << 8)|((
long) (0x53))),
339 kEXR = (((
long) (0x20) << 24)|((long) (0x52) << 16)|((
long) (0x58) << 8)|((long) (0x45))),
340 kJ2K = (((long) (0x20) << 24)|((
long) (0x4B) << 16)|((long) (0x32) << 8)|((
long) (0x4A))),
341 kJP2 = (((
long) (0x20) << 24)|((long) (0x32) << 16)|((
long) (0x50) << 8)|((long) (0x4A))),
342 kPFM = (((long) (0x20) << 24)|((
long) (0x4D) << 16)|((long) (0x46) << 8)|((
long) (0x50))),
343 kPICT = (((
long) (0x54) << 24)|((long) (0x43) << 16)|((
long) (0x49) << 8)|((long) (0x50))),
344 kRAW = (((long) (0x20) << 24)|((
long) (0x57) << 16)|((long) (0x41) << 8)|((
long) (0x52)))
348 kLoadFmt = (((long) (0x20) << 24)|((
long) (0x54) << 16)|((long) (0x4D) << 8)|((
long) (0x46))),
349 kNoTIFFRotation = (((
long) (0x52) << 24)|((long) (0x46) << 16)|((
long) (0x54) << 8)|((long) (0x4E)))
353 kTransparentColor = (((long) (0x52) << 24)|((
long) (0x4C) << 16)|((long) (0x43) << 8)|((
long) (0x54))),
354 kJpegQuality = (((
long) (0x59) << 24)|((long) (0x54) << 16)|((
long) (0x51) << 8)|((long) (0x4A))),
355 kTiffCompression = (((long) (0x50) << 24)|((
long) (0x4D) << 16)|((long) (0x43) << 8)|((
long) (0x54))),
357 kTiffCompressionLzw = (((long) (0x20) << 24)|((
long) (0x57) << 16)|((long) (0X5A) << 8)|((
long) (0x4C))),
358 kTiffCompressionJpeg = (((
long) (0x47) << 24)|((long) (0x45) << 16)|((
long) (0x50) << 8)|((long) (0x4A))),
362 kDithering = (((
long) (0x48) << 24)|((long) (0x54) << 16)|((
long) (0x49) << 8)|((long) (0x44))),
363 kDitheringFS = (((long) (0x53) << 24)|((
long) (0x46) << 16)|((long) (0x54) << 8)|((
long) (0x44))),
364 kDitheringBayer4x4 = (((
long) (0x34) << 24)|((long) (0x52) << 16)|((
long) (0x59) << 8)|((long) (0x42))),
365 kDitheringBayer8x8 = (((long) (0x38) << 24)|((
long) (0x52) << 16)|((long) (0x59) << 8)|((
long) (0x42))),
366 kDitheringBayer16x16 = (((
long) (0x36) << 24)|((long) (0x31) << 16)|((
long) (0x52) << 8)|((long) (0x42))),
367 kDitheringCluster6x6 = (((long) (0x36) << 24)|((
long) (0x52) << 16)|((long) (0x4C) << 8)|((
long) (0x43))),
368 kDitheringCluster8x8 = (((
long) (0x38) << 24)|((long) (0x52) << 16)|((
long) (0x4C) << 8)|((long) (0x43))),
369 kDitheringCluster16x16 = (((long) (0x36) << 24)|((
long) (0x31) << 16)|((long) (0x4C) << 8)|((
long) (0x43))),
370 kRescale = (((
long) (0x4C) << 24)|((long) (0x43) << 16)|((
long) (0x53) << 8)|((long) (0x52))),
371 kRescaleBox = (((long) (0x20) << 24)|((
long) (0x58) << 16)|((long) (0x4F) << 8)|((
long) (0x42))),
372 kRescaleBicubic = (((
long) (0x43) << 24)|((long) (0x42) << 16)|((
long) (0x43) << 8)|((long) (0x42))),
373 kRescaleBilinear = (((long) (0x52) << 24)|((
long) (0x4E) << 16)|((long) (0x4C) << 8)|((
long) (0x42))),
374 kRescaleBspline = (((
long) (0x4C) << 24)|((long) (0x50) << 16)|((
long) (0x53) << 8)|((long) (0x42))),
375 kRescaleCatmullrom = (((long) (0x4C) << 24)|((
long) (0x4D) << 16)|((long) (0x54) << 8)|((
long) (0x43))),
376 kRescaleLanczos3 = (((
long) (0X5A) << 24)|((long) (0x43) << 16)|((
long) (0x4E) << 8)|((long) (0x4C))),
377 kRescaleWidth = (((long) (0x48) << 24)|((
long) (0x54) << 16)|((long) (0x44) << 8)|((
long) (0x57))),
378 kRescaleHeight = (((
long) (0x54) << 24)|((long) (0x48) << 16)|((
long) (0x47) << 8)|((long) (0x48))),
379 kQuantizeNone = (((long) (0x38) << 24)|((
long) (0x4F) << 16)|((long) (0x54) << 8)|((
long) (0x43))),
380 kQuantizeWU = (((
long) (0x51) << 24)|((long) (0x43) << 16)|((
long) (0x55) << 8)|((long) (0x57))),
381 kQuantizeNN = (((long) (0x20) << 24)|((
long) (0x51) << 16)|((long) (0x4E) << 8)|((
long) (0x4E))),
382 kQuantizeLFP = (((
long) (0x51) << 24)|((long) (0x50) << 16)|((
long) (0x46) << 8)|((long) (0x4C)))
static global::System.Exception Retrieve()
static global::System.IntPtr OdRxRasterServices_getRasterImageTypes(HandleRef jarg1)
static IntPtr OdRxRasterServices_queryX(HandleRef jarg1, HandleRef jarg2)
static string OdRxRasterServices_getRealClassName(IntPtr jarg1)
static IntPtr OdRxRasterServices_createRasterImage(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdRxRasterServices_isA(HandleRef jarg1)
static bool OdRxRasterServices_convertRasterImage__SWIG_2(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, UInt32 jarg4, IntPtr jarg5, IntPtr jarg6)
static bool OdRxRasterServices_saveRasterImage__SWIG_1(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static String OdRxRasterServices_mapTypeToExtension(HandleRef jarg1, UInt32 jarg2, string jarg3)
static UInt32 OdRxRasterServices_mapExtensionToType(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static UInt32 OdRxRasterServices_getImageFormat__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static bool OdRxRasterServices_saveRasterImage__SWIG_0(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, IntPtr jarg4)
static IntPtr OdRxRasterServices_desc()
static bool OdRxRasterServices_convertRasterImage__SWIG_3(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, UInt32 jarg4, IntPtr jarg5)
static IntPtr OdRxRasterServices_loadRasterImage__SWIG_0(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, IntPtr jarg3)
static bool OdRxRasterServices_convertRasterImage__SWIG_1(HandleRef jarg1, HandleRef jarg2, UInt32 jarg3, HandleRef jarg4)
static bool OdRxRasterServices_saveRasterImage__SWIG_2(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, UInt32 jarg4, IntPtr jarg5)
static bool OdRxRasterServices_convertRasterImage__SWIG_4(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, UInt32 jarg4)
static IntPtr OdRxRasterServices_loadRasterImage__SWIG_3(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdRxRasterServices_loadRasterImage__SWIG_2(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3)
static IntPtr OdRxRasterServices_cast(HandleRef jarg1)
static bool OdRxRasterServices_isRasterImageTypeSupported(HandleRef jarg1, UInt32 jarg2)
static bool OdRxRasterServices_convertRasterImage__SWIG_0(HandleRef jarg1, HandleRef jarg2, UInt32 jarg3, HandleRef jarg4, IntPtr jarg5)
static IntPtr OdRxRasterServices_createObject()
static IntPtr OdRxRasterServices_loadRasterImage__SWIG_1(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static UInt32 OdRxRasterServices_getImageFormat__SWIG_0(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool OdRxRasterServices_saveRasterImage__SWIG_3(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, UInt32 jarg4)
static void delete_OdRxRasterServices(HandleRef jarg1)
static HandleRef getCPtr(OdGiRasterImage obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
@ kTiffCompressionCCITTFax3
@ kTiffCompressionEmbedded
@ kTiffCompressionCCITTFax4
@ kTiffCompressionDeflate
virtual bool saveRasterImage(OdGiRasterImage rasterImage, String filename, UInt32 type, UInt32[] pFlagsChain)
override void Dispose(bool disposing)
override OdRxObject queryX(OdRxClass protocolClass)
virtual UInt32 getImageFormat(String filename)
virtual OdUInt32Array getRasterImageTypes()
virtual OdGiRasterImage loadRasterImage(String filename)
virtual bool convertRasterImage(OdStreamBuf pSrcStream, OdStreamBuf pDstStream, UInt32 type)
virtual OdGiRasterImage loadRasterImage(String filename, UInt32[] pFlagsChain)
virtual bool saveRasterImage(OdGiRasterImage rasterImage, String filename)
virtual OdGiRasterImage loadRasterImage(OdStreamBuf pStreamBuf, UInt32[] pFlagsChain)
static HandleRef getCPtr(OdRxRasterServices obj)
virtual bool isRasterImageTypeSupported(UInt32 type)
virtual bool convertRasterImage(OdStreamBuf pSrcStream, OdStreamBuf pDstStream, UInt32 type, UInt32[] pFlagsChainSrc, UInt32[] pFlagsChainDst)
virtual UInt32 mapExtensionToType(String extension)
static string getRealClassName(IntPtr ptr)
virtual bool saveRasterImage(OdGiRasterImage rasterImage, String filename, UInt32[] pFlagsChain)
virtual UInt32 getImageFormat(OdStreamBuf pStreamBuf)
static new OdRxClass desc()
virtual bool convertRasterImage(OdStreamBuf pSrcStream, OdStreamBuf pDstStream, UInt32 type, UInt32[] pFlagsChainSrc)
virtual bool saveRasterImage(OdGiRasterImage rasterImage, String filename, UInt32 type)
OdRxRasterServices(IntPtr cPtr, bool cMemoryOwn)
virtual bool convertRasterImage(OdGiRasterImage pRaster, UInt32 type, OdStreamBuf pStreamBuf)
virtual String mapTypeToExtension(UInt32 type, string psFilterName)
virtual OdGiRasterImage loadRasterImage(OdStreamBuf pStreamBuf)
virtual bool convertRasterImage(OdGiRasterImage pRaster, UInt32 type, OdStreamBuf pStreamBuf, UInt32[] pFlagsChain)
static OdRxRasterServices cast(OdRxObject pObj)
virtual OdGiRasterImage createRasterImage(IntPtr pImp)
static new OdRxRasterServices createObject()
static HandleRef getCPtr(OdStreamBuf obj)