blob: 8b86107f7427d87b4a9a6628aa01e5197a0ab8ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/*
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
|