public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; FontGeneratorPINVOKE.delete_DLL(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } }
public void SetFontColor(byte r, byte g, byte b, byte a) { FontGeneratorPINVOKE.DLL_SetFontColor(swigCPtr, r, g, b, a); }
public void SetFontSize(int fontSize) { FontGeneratorPINVOKE.DLL_SetFontSize(swigCPtr, fontSize); }
public bool Run() { bool ret = FontGeneratorPINVOKE.DLL_Run(swigCPtr); return(ret); }
public string SavePreview() { string ret = System.Runtime.InteropServices.Marshal.PtrToStringUni(FontGeneratorPINVOKE.DLL_SavePreview(swigCPtr)); return(ret); }
public string GetFontPath(int index) { string ret = System.Runtime.InteropServices.Marshal.PtrToStringUni(FontGeneratorPINVOKE.DLL_GetFontPath(swigCPtr, index)); return(ret); }
public int GetFontCount() { int ret = FontGeneratorPINVOKE.DLL_GetFontCount(swigCPtr); return(ret); }
public void LoadFontNames() { FontGeneratorPINVOKE.DLL_LoadFontNames(swigCPtr); }
public DLL() : this(FontGeneratorPINVOKE.new_DLL(), true) { }
public void SetOutlineSampling(int sampling) { FontGeneratorPINVOKE.DLL_SetOutlineSampling(swigCPtr, sampling); }
public void SetOutlineSize(int size) { FontGeneratorPINVOKE.DLL_SetOutlineSize(swigCPtr, size); }
public void SetSheetSize(int sheetSize) { FontGeneratorPINVOKE.DLL_SetSheetSize(swigCPtr, sheetSize); }
public void SetExportPath(string path) { FontGeneratorPINVOKE.DLL_SetExportPath(swigCPtr, path); }
public void SetTextFilePath(string path) { FontGeneratorPINVOKE.DLL_SetTextFilePath(swigCPtr, path); }
public void SetFontName(string name) { FontGeneratorPINVOKE.DLL_SetFontName(swigCPtr, name); }