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();
121 MemoryManager mMan = MemoryManager.GetMemoryManager();
122 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
128 mTrans.AddObject((
OdFont)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(
OdFont),ptr,
true));
147IntPtr tmp_fileName = Marshal.StringToCoTaskMemUni(fileName);
148 IntPtr saved_fileName = tmp_fileName;
154if (tmp_fileName != saved_fileName) fileName = Marshal.PtrToStringUni(tmp_fileName);
static global::System.Exception Retrieve()
static IntPtr OdFontServices_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdFontServices_isA(HandleRef jarg1)
static IntPtr OdFontServices_createObject()
static string OdFontServices_getRealClassName(IntPtr jarg1)
static bool OdFontServices_ttfFileNameByDescriptor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3, HandleRef jarg4)
static void OdFontServices_collectFilePathsInDirectory__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static String OdFontServices_iFindFile(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, HandleRef jarg3)
static void OdFontServices_loadStyleRec(HandleRef jarg1, IntPtr jarg2, HandleRef jarg3)
static String OdFontServices_getFontFilePath(HandleRef jarg1, IntPtr jarg2, HandleRef jarg3)
static String OdFontServices_getBigFontFilePath(HandleRef jarg1, IntPtr jarg2, HandleRef jarg3)
static bool OdFontServices_getTTFParamFromFile(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdFontServices_defaultFont(HandleRef jarg1)
static IntPtr OdFontServices_cast(HandleRef jarg1)
static IntPtr OdFontServices_desc()
static void OdFontServices_collectFilePathsInDirectory__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4)
static void delete_OdFontServices(HandleRef jarg1)
static bool OdFontServices_getSystemFontFolders(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3)
static HandleRef getCPtr(OdDbBaseHostAppServices obj)
static new OdRxClass desc()
static OdFontServices cast(OdRxObject pObj)
virtual bool ttfFileNameByDescriptor(OdTtfDescriptor descr, ref string fileName, OdDbBaseHostAppServices pHost)
static string getRealClassName(IntPtr ptr)
virtual OdFont defaultFont()
virtual void collectFilePathsInDirectory(OdStringArray res, String sPath)
override void Dispose(bool disposing)
virtual void loadStyleRec(OdGiTextStyle textStyle, OdRxObject pDb)
virtual String getFontFilePath(OdGiTextStyle textStyle, OdRxObject pDb)
static OdFontServices createObject()
virtual void collectFilePathsInDirectory(OdStringArray res, String sPath, String sFilter)
static HandleRef getCPtr(OdFontServices obj)
override OdRxObject queryX(OdRxClass protocolClass)
virtual String getBigFontFilePath(OdGiTextStyle textStyle, OdRxObject pDb)
virtual bool getTTFParamFromFile(String fileName, OdTtfDescriptor descr)
OdFontServices(IntPtr cPtr, bool cMemoryOwn)
virtual String iFindFile(String file, OdDbBaseHostAppServices pHostApp)
virtual bool getSystemFontFolders(OdStringArray aDirs, OdDbBaseHostAppServices pHost)
static HandleRef getCPtr(OdGiTextStyle obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdStringArray obj)
static HandleRef getCPtr(OdTtfDescriptor obj)