Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
class c_render
|
||||
{
|
||||
public:
|
||||
size_t get_text_width(const char* text, size_t font_size);
|
||||
void draw_rect(respawn::color_t color, int x1, int y1, int x2, int y2, int opacity = 255);
|
||||
void draw_rect_filled(respawn::color_t color, int x1, int y1, int x2, int y2, int opacity = 255);
|
||||
void draw_line(respawn::color_t color, int x1, int y1, int x2, int y2, int opacity = 255);
|
||||
void draw_rect_bordered(respawn::color_t sColor, float flX0, float flY0, float flX1, float flY1, int opacity = 255);
|
||||
void draw_circle(respawn::color_t color, int x, int y, int radius, int segments = 100, int opacity = 255);
|
||||
void draw_text(respawn::color_t color, ulong font, int size, int x, int y, const char* text);
|
||||
void draw_text_ex(respawn::color_t color, ulong font, int size, int x, int y, const char* text, ...);
|
||||
void draw_text_centered(respawn::color_t color, ulong font, int size, int x, int y, const char* text, ...);
|
||||
private:
|
||||
};
|
||||
Reference in New Issue
Block a user