Shirag 0.1.0
Loading...
Searching...
No Matches
text.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <raylib.h>
4#include <string>
5
6namespace Shirag::Drawing {
7
8 void drawTextCenterTopRect(Rectangle& Rect, std::string& Text, int FontSize, Color TextColor, int TopOffset = 0, Font Font = GetFontDefault());
9
10 void drawTextCenterPoint(Vector2 Center, std::string& Text, int FontSize, Color TextColor, bool CenterX = true, bool CenterY = true, Font Font = GetFontDefault());
11
12 void drawTextCenterRect(Rectangle Rect, std::string& Text, int FontSize, Color TextColor, bool CenterX, bool CenterY, Font Font = GetFontDefault());
13}
Definition circle.hpp:5
void drawTextCenterPoint(Vector2 Center, std::string &Text, int FontSize, Color TextColor, bool CenterX=true, bool CenterY=true, Font Font=GetFontDefault())
Definition text.cpp:16
void drawTextCenterTopRect(Rectangle &Rect, std::string &Text, int FontSize, Color TextColor, int TopOffset=0, Font Font=GetFontDefault())
Definition text.cpp:4
void drawTextCenterRect(Rectangle Rect, std::string &Text, int FontSize, Color TextColor, bool CenterX, bool CenterY, Font Font=GetFontDefault())
Definition text.cpp:28