BRL-CAD
framebuffer.h
Go to the documentation of this file.
1/* F R A M E B U F F E R . H
2 * BRL-CAD
3 *
4 * Copyright (c) 2008-2023 United States Government as represented by
5 * the U.S. Army Research Laboratory.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License
9 * version 2.1 as published by the Free Software Foundation.
10 *
11 * This library is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this file; see the file named COPYING for more
18 * information.
19 */
20/** @addtogroup ged_framebuffer
21 *
22 * Geometry EDiting Library Database Framebuffer Related Functions.
23 *
24 */
25/** @{ */
26/** @file ged/framebuffer.h */
27
28#ifndef GED_FRAMEBUFFER_H
29#define GED_FRAMEBUFFER_H
30
31#include "common.h"
32#include "ged/defines.h"
33
34__BEGIN_DECLS
35
36
37/**
38 * Fb2pix writes a framebuffer image to a .pix file.
39 */
40GED_EXPORT extern int ged_fb2pix(struct ged *gedp, int argc, const char *argv[]);
41
42/**
43 * Fclear clears a framebuffer.
44 */
45GED_EXPORT extern int ged_fbclear(struct ged *gedp, int argc, const char *argv[]);
46
47/**
48 * Pix2fb reads a pix file into a framebuffer.
49 */
50GED_EXPORT extern int ged_pix2fb(struct ged *gedp, int argc, const char *argv[]);
51
52/**
53 * Png2fb reads a png file into a framebuffer.
54 */
55GED_EXPORT extern int ged_png2fb(struct ged *gedp, int argc, const char *argv[]);
56
57__END_DECLS
58
59#endif /* GED_FRAMEBUFFER_H */
60
61/** @} */
62
63/*
64 * Local Variables:
65 * tab-width: 8
66 * mode: C
67 * indent-tabs-mode: t
68 * c-file-style: "stroustrup"
69 * End:
70 * ex: shiftwidth=4 tabstop=8
71 */
Header file for the BRL-CAD common definitions.
int ged_pix2fb(struct ged *gedp, int argc, const char *argv[])
int ged_fbclear(struct ged *gedp, int argc, const char *argv[])
int ged_fb2pix(struct ged *gedp, int argc, const char *argv[])
int ged_png2fb(struct ged *gedp, int argc, const char *argv[])
Definition: defines.h:195