TinyGPU
Loading...
Searching...
No Matches
TinyGPUGlobals.h
Go to the documentation of this file.
1#pragma once
2#include "BitmapFont.h"
3#include "FrameBuffer.h"
5#include "IFont.h"
6#include "LinePrinter.h"
7#include "BGR565.h"
8#include "RGB565.h"
9#include "RGB666.h"
10#include "RGB888.h"
11#include "Surface.h"
13#include "TinyGPUConfig.h"
14#include "WireFrame3D.h"
15
16namespace tinygpu {
17
18/**
19 * @typedef SurfaceRGB565
20 * @brief Surface with RGB565 pixel format.
21 */
22using SurfaceRGB565 = Surface<RGB565>;
23/**
24 * @typedef SurfaceRGB666
25 * @brief Surface with RGB666 pixel format.
26 */
27using SurfaceRGB666 = Surface<RGB666>;
28/**
29 * @typedef SurfaceRGB888
30 * @brief Surface with RGB888 pixel format.
31 */
32using SurfaceRGB888 = Surface<RGB888>;
33/**
34 * @typedef SurfaceBGR565
35 * @brief Surface with BGR565 pixel format.
36 */
37using SurfaceBGR565 = Surface<BGR565>;
38
39/**
40 * @typedef FrameBufferRGB565
41 * @brief FrameBuffer with RGB565 pixel format.
42 */
44/**
45 * @typedef FrameBufferRGB666
46 * @brief FrameBuffer with RGB666 pixel format.
47 */
49/**
50 * @typedef FrameBufferRGB888
51 * @brief FrameBuffer with RGB888 pixel format.
52 */
54/**
55 * @typedef FrameBufferBGR565
56 * @brief FrameBuffer with BGR565 pixel format.
57 */
59/**
60 * @typedef SpriteRGB565
61 * @brief Sprite with RGB565 pixel format.
62 */
64/**
65 * @typedef SpriteRGB666
66 * @brief Sprite with RGB666 pixel format.
67 */
69/**
70 * @typedef SpriteRGB888
71 * @brief Sprite with RGB888 pixel format.
72 */
74/**
75 * @typedef SpriteBGR565
76 * @brief Sprite with BGR565 pixel format.
77 */
79/**
80 * @typedef LinePrinterRGB565
81 * @brief LinePrinter with RGB565 pixel format.
82 */
83using LinePrinterRGB565 = LinePrinter<RGB565>;
84/**
85 * @typedef LinePrinterRGB666
86 * @brief LinePrinter with RGB666 pixel format.
87 */
88using LinePrinterRGB666 = LinePrinter<RGB666>;
89/** @typedef LinePrinterRGB888
90 * @brief LinePrinter with RGB888 pixel format.
91 */
92using LinePrinterRGB888 = LinePrinter<RGB888>;
93/**
94 * @typedef LinePrinterBGR565
95 * @brief LinePrinter with BGR565 pixel format.
96 */
97using LinePrinterBGR565 = LinePrinter<BGR565>;
98/**
99 * @typedef BitmapFontRGB565
100 * @brief BitmapFont with RGB565 pixel format.
101 */
102using BitmapFontRGB565 = BitmapFont<RGB565>;
103/**
104 * @typedef BitmapFontRGB666
105 * @brief BitmapFont with RGB666 pixel format.
106 */
107using BitmapFontRGB666 = BitmapFont<RGB666>;
108/**
109 * @typedef BitmapFontRGB888
110 * @brief BitmapFont with RGB888 pixel format.
111 */
112using BitmapFontRGB888 = BitmapFont<RGB888>;
113/** @typedef BitmapFontBGR565
114 * @brief BitmapFont with BGR565 pixel format.
115 */
116using BitmapFontBGR565 = BitmapFont<BGR565>;
117/**
118 * @typedef IFontRGB565
119 * @brief IFont with RGB565 pixel format.
120 */
121using IFontRGB565 = IFont<RGB565>;
122/**
123 * @typedef IFontRGB666
124 * @brief IFont with RGB666 pixel format.
125 */
126using IFontRGB666 = IFont<RGB666>;
127/**
128 * @typedef IFontRGB888
129 * @brief IFont with RGB888 pixel format.
130 */
131using IFontRGB888 = IFont<RGB888>;
132/** @typedef IFontBGR565
133 * @brief IFont with BGR565 pixel format.
134 */
135using IFontBGR565 = IFont<BGR565>;
136
137/**
138 * @typedef WireFrame3D_RGB565
139 * @brief WireFrame3D with RGB565 pixel format.
140 */
141using WireFrame3D_RGB565 = WireFrame3D<RGB565>;
142/**
143 * @typedef WireFrame3D_RGB666
144 * @brief WireFrame3D with RGB666 pixel format.
145 */
146using WireFrame3D_RGB666 = WireFrame3D<RGB666>;
147/**
148 * @typedef WireFrame3D_RGB888
149 * @brief WireFrame3D with RGB888 pixel format.
150 */
151using WireFrame3D_RGB888 = WireFrame3D<RGB888>;
152/**
153 * @typedef WireFrame3D_BGR565
154 * @brief WireFrame3D_BGR565
155 */
156using WireFrame3D_BGR565 = WireFrame3D<BGR565>;
157
158/// @brief CartesianView with RGB565 pixel format.
160/// @brief CartesianView with RGB666 pixel format.
162/// @brief CartesianView with RGB888 pixel format.
164/// @brief CartesianView with BGR565 pixel format.
166
167} // namespace tinygpu
BGR color stored in 16-bit BGR565 format.
Definition: BGR565.h:13
Fixed-size 5x7 bitmap font with ASCII and extended character support.
Definition: BitmapFont.h:22
Font rendering interface for TinyGPU-compatible framebuffers.
Definition: IFont.h:19
Helper for printing wrapped lines of text onto a TinyGPU target.
Definition: LinePrinter.h:17
RGB color stored in 16-bit RGB565 format.
Definition: RGB565.h:13
RGB color stored in 18-bit RGB666 format.
Definition: RGB666.h:13
RGB color stored in 24-bit RGB888 format.
Definition: RGB888.h:13
In-memory bitmap surface with basic 2D drawing and text rendering.
Definition: Surface.h:39
Lightweight 3D wireframe renderer for TinyGPU drawing targets.
Definition: WireFrame3D.h:41
Definition: AVIWriter.h:9