#include <wchar.h>
Include dependency graph for charcanvas.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | cc_canvas |
The actual canvas. More... | |
struct | cc_elem |
One cc_elem represents one character element on the device. More... | |
Functions | |
cc_canvas * | cc_create_canvas (unsigned int width, unsigned int height) |
Return a new canvas with the given dimensions. | |
void | cc_delete_canvas (cc_canvas *canvas) |
Free all memory of a canvas. | |
void | cc_put_char (cc_canvas *canvas, unsigned int x_pos, unsigned int y_pos, wchar_t character) |
Put a UTF-8 character at the given position. | |
void | cc_write_text (cc_canvas *canvas, unsigned int x_pos, unsigned int y_pos, char *utf8_string) |
Write a UTF-8 string at the given position. | |
cc_elem * | cc_get_element (cc_canvas *canvas, unsigned int x_pos, unsigned int y_pos) |
Return the element at the given position. | |
void | cc_clear_damaged_regions (cc_canvas *canvas) |
Reset all damaged region flags (normally done after the canvas was displayed on a device. |
All drivers take a canvas as their input, and try to display the bitmap data and unicode text as good as possible within the constraints of the hardware.
Definition in file charcanvas.h.
|
Reset all damaged region flags (normally done after the canvas was displayed on a device.
Definition at line 97 of file charcanvas.c. |
|
Return a new canvas with the given dimensions. All elements are set to a space character initially.
Definition at line 33 of file charcanvas.c. |
|
Free all memory of a canvas.
Definition at line 57 of file charcanvas.c. |
|
Return the element at the given position.
Definition at line 90 of file charcanvas.c. |
|
Put a UTF-8 character at the given position.
Definition at line 72 of file charcanvas.c. |
|
Write a UTF-8 string at the given position.
Definition at line 82 of file charcanvas.c. |