gpforge
An advanced bitmap font editor
Loading...
Searching...
No Matches
canvas.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2026 Cyril Hrubis <metan@ucw.cz>
4 */
17#ifndef GPFORGE_CANVAS_H
18#define GPFORGE_CANVAS_H
19
20#include <widgets/gp_widgets.h>
21
33void gpf_canvas_draw(gp_widget *self);
34
47int gpf_canvas_input(gp_event *ev);
48
49#endif /* GPFORGE_CANVAS_H */
void gpf_canvas_draw(gp_widget *self)
Paints the selected glyph, enlarged, into the canvas pixmap.
Definition canvas.c:297
int gpf_canvas_input(gp_event *ev)
Handles an input event on the canvas.
Definition canvas.c:579