NetSurf
frontends
riscos
save_draw.h
Go to the documentation of this file.
1
/*
2
* Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk>
3
*
4
* This file is part of NetSurf, http://www.netsurf-browser.org/
5
*
6
* NetSurf is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
9
*
10
* NetSurf is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef _NETSURF_RISCOS_SAVE_DRAW_H_
20
#define _NETSURF_RISCOS_SAVE_DRAW_H_
21
22
#ifdef WITH_DRAW_EXPORT
23
24
#include <stdbool.h>
25
struct
hlcache_handle
;
26
27
/**
28
* Export a content as a DrawFile.
29
*
30
* \param h content to export
31
* \param path path to save DrawFile as
32
* \return true on success, false on error and error reported
33
*/
34
bool
save_as_draw(
struct
hlcache_handle
*h,
const
char
*
path
);
35
36
#endif
37
38
#endif
hlcache_handle
High-level cache handle.
Definition:
hlcache.c:66
path
static nserror path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.
Definition:
plot.c:821
Generated on Tue Nov 12 2024 23:39:53 for NetSurf by
1.9.4