/* Copyright (C) 2020-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: WxdkdrawWrite.cpt */ #ifndef WXDKDRAWWRITE_H_INCLUDED /** Avoid multiple inclusions. */ #define WXDKDRAWWRITE_H_INCLUDED 1 #line 7 "WxdkdrawWrite.cpt" /** @file WxdkdrawWrite.h Write drawing to file. */ #include "WxdkdrawTypes.h" /** Initialize a writer status structure. @param pstat Status structure to initialize. @param wxe Encoding for wxChar strings. */ void wxdwr_status_init(wxdwr_status_t *pstat, int wxe); /** Write drawing to file. @param fout Output file to write, opened for text writing. @param pdrw Drawing to write to file. @param pstat Writer status. @return 1 on success, 0 on error. */ int wxdwr_write_file(FILE *fout, Wxd_drawing_t *pdrw, wxdwr_status_t *pstat); #endif