TazGraph Project v0.1.0
Loading...
Searching...
No Matches
PNG_Letters.h
1#pragma once
2
3#include <SDL2/SDL.h>
4
5#define RECT_a SDL_Rect{ 0, 0, 10, 20 };
6#define RECT_b SDL_Rect{ 10, 0, 10 , 20};
7#define RECT_c SDL_Rect{ 20, 0, 10 , 20};
8#define RECT_d SDL_Rect{ 30, 0, 10 , 20};
9#define RECT_e SDL_Rect{ 40, 0, 10 , 20};
10#define RECT_f SDL_Rect{ 50, 0, 5 , 20};
11#define RECT_g SDL_Rect{ 55, 0, 10 , 20};
12#define RECT_h SDL_Rect{ 65, 0, 10 , 20};
13#define RECT_i SDL_Rect{ 75, 0, 3 , 20};
14#define RECT_j SDL_Rect{ 80, 0, 3 , 20};
15#define RECT_k SDL_Rect{ 83, 0, 8 , 20};
16#define RECT_l SDL_Rect{ 91, 0, 5 , 20};
17#define RECT_m SDL_Rect{ 96, 0, 15 , 20};
18#define RECT_n SDL_Rect{ 110, 0, 10 , 20};
19#define RECT_o SDL_Rect{ 120, 0, 10 , 20};
20#define RECT_p SDL_Rect{ 130, 0, 10 , 20};
21#define RECT_q SDL_Rect{ 140, 0, 10 , 20};
22#define RECT_r SDL_Rect{ 150, 0, 7 , 20};
23#define RECT_s SDL_Rect{ 157, 0, 9 , 20};
24#define RECT_t SDL_Rect{ 166, 0, 5 , 20};
25#define RECT_u SDL_Rect{ 171, 0, 10 , 20};
26#define RECT_v SDL_Rect{ 181, 0, 9 , 20};
27#define RECT_w SDL_Rect{ 190, 0, 12 , 20};
28#define RECT_x SDL_Rect{ 202, 0, 10 , 20};
29#define RECT_y SDL_Rect{ 212, 0, 9 , 20};
30#define RECT_z SDL_Rect{ 221, 0, 9 , 20};
31
32#define RECT_A SDL_Rect{ 0, 20, 12, 20 };
33#define RECT_B SDL_Rect{ 12, 20, 12, 20 };
34#define RECT_C SDL_Rect{ 24, 20, 13, 20 };
35#define RECT_D SDL_Rect{ 37, 20, 12, 20 };
36#define RECT_E SDL_Rect{ 49, 20, 13, 20 };
37#define RECT_F SDL_Rect{ 62, 20, 12, 20 };
38#define RECT_G SDL_Rect{ 74, 20, 13, 20 };
39#define RECT_H SDL_Rect{ 87, 20, 13, 20 };
40#define RECT_I SDL_Rect{ 100, 20, 5, 20 };
41#define RECT_J SDL_Rect{ 105, 20, 9, 20 };
42#define RECT_K SDL_Rect{ 113, 20, 13, 20 };
43#define RECT_L SDL_Rect{ 126, 20, 11, 20 };
44#define RECT_M SDL_Rect{ 137, 20, 14, 20 };
45#define RECT_N SDL_Rect{ 151, 20, 13, 20 };
46#define RECT_O SDL_Rect{ 164, 20, 14, 20 };
47#define RECT_P SDL_Rect{ 178, 20, 12, 20 };
48#define RECT_Q SDL_Rect{ 190, 20, 14, 20 };
49#define RECT_R SDL_Rect{ 204, 20, 14, 20 };
50#define RECT_S SDL_Rect{ 217, 20, 12, 20 };
51#define RECT_T SDL_Rect{ 229, 20, 12, 20 };
52#define RECT_U SDL_Rect{ 241, 20, 12, 20 };
53#define RECT_V SDL_Rect{ 253, 20, 12, 20 };
54#define RECT_W SDL_Rect{ 265, 20, 17, 20 };
55#define RECT_X SDL_Rect{ 282, 20, 12, 20 };
56#define RECT_Y SDL_Rect{ 294, 20, 12, 20 };
57#define RECT_Z SDL_Rect{ 306, 20, 11, 20 };
58
59#define RECT_0 SDL_Rect{ 0, 40, 10,20 };
60#define RECT_1 SDL_Rect{ 10, 40, 10 , 20};
61#define RECT_2 SDL_Rect{ 20, 40, 10 , 20};
62#define RECT_3 SDL_Rect{ 30, 40, 10 , 20};
63#define RECT_4 SDL_Rect{ 40, 40, 10 , 20};
64#define RECT_5 SDL_Rect{ 50, 40, 10 , 20};
65#define RECT_6 SDL_Rect{ 60, 40, 10 , 20};
66#define RECT_7 SDL_Rect{ 70, 40, 10 , 20};
67#define RECT_8 SDL_Rect{ 80, 40, 10 , 20};
68#define RECT_9 SDL_Rect{ 90, 40, 10 , 20};
69
70#define RECT_DOT SDL_Rect{ 10, 106, 20, 20 };
71#define RECT_COLON SDL_Rect{ 10, 106, 20, 20 };
72#define RECT_COMMA SDL_Rect{ 10, 106, 20, 20 };
73#define RECT_SEMICOLON SDL_Rect{ 10, 106, 20, 20 };
74#define RECT_LEFT_PARENTHESIS SDL_Rect{ 10, 106, 20, 20 };
75#define RECT_ASTERISK SDL_Rect{ 10, 106, 20, 20 };
76#define RECT_EXCLAMATION SDL_Rect{ 10, 106, 20, 20 };
77#define RECT_QUESTION SDL_Rect{ 10, 106, 20, 20 };
78#define RECT_RIGHT_BRACK SDL_Rect{ 10, 106, 20, 20 };
79#define RECT_CARET SDL_Rect{ 10, 106, 20, 20 };
80#define RECT_RIGHT_PARENTHESIS SDL_Rect{ 10, 106, 20, 20 };
81#define RECT_HASHTAG SDL_Rect{ 10, 106, 20, 20 };
82#define RECT_DOLLAR SDL_Rect{ 10, 106, 20, 20 };
83#define RECT_LEFT_BRACK SDL_Rect{ 10, 106, 20, 20 };
84#define RECT_PERCENTAGE SDL_Rect{ 10, 106, 20, 20 };
85#define RECT_AMPERSAND SDL_Rect{ 10, 106, 20, 20 };
86#define RECT_DASH SDL_Rect{ 10, 106, 20, 20 };
87#define RECT_PLUS SDL_Rect{ 10, 106, 20, 20 };
88#define RECT_AT SDL_Rect{ 10, 106, 20, 20 };
89
90#define RECT_SPACE SDL_Rect{ 300, 0, 12, 20 };
91
92
93SDL_Rect getLetterRect(char letter);