|
Shirag 0.1.0
|
Enumerations | |
| enum | ALIGN { LEFT = 0 , RIGHT , UP , DOWN } |
Functions | |
| void | drawCircleWithOutline (Vector2 Center, float Radius, Color CircleColor, Color OutlineColor) |
| void | drawLineAligned (Vector2 StartPos, Vector2 EndPos, float LineThick, Color LineColor, ALIGN Alignment) |
| void | drawRectWithOutline (Rectangle &Rect, float LineThickness, Color RectColor, Color OutlineColor) |
| void | drawTextCenterTopRect (Rectangle &Rect, std::string &Text, int FontSize, Color TextColor, int TopOffset=0, Font Font=GetFontDefault()) |
| void | drawTextCenterPoint (Vector2 Center, std::string &Text, int FontSize, Color TextColor, bool CenterX=true, bool CenterY=true, Font Font=GetFontDefault()) |
| void | drawTextCenterRect (Rectangle Rect, std::string &Text, int FontSize, Color TextColor, bool CenterX, bool CenterY, Font Font=GetFontDefault()) |
| void Shirag::Drawing::drawCircleWithOutline | ( | Vector2 | Center, |
| float | Radius, | ||
| Color | CircleColor, | ||
| Color | OutlineColor | ||
| ) |
| void Shirag::Drawing::drawLineAligned | ( | Vector2 | StartPos, |
| Vector2 | EndPos, | ||
| float | LineThick, | ||
| Color | LineColor, | ||
| ALIGN | Alignment | ||
| ) |
| void Shirag::Drawing::drawRectWithOutline | ( | Rectangle & | Rect, |
| float | LineThickness, | ||
| Color | RectColor, | ||
| Color | OutlineColor | ||
| ) |
| void Shirag::Drawing::drawTextCenterPoint | ( | Vector2 | Center, |
| std::string & | Text, | ||
| int | FontSize, | ||
| Color | TextColor, | ||
| bool | CenterX = true, |
||
| bool | CenterY = true, |
||
| Font | Font = GetFontDefault() |
||
| ) |
| void Shirag::Drawing::drawTextCenterRect | ( | Rectangle | Rect, |
| std::string & | Text, | ||
| int | FontSize, | ||
| Color | TextColor, | ||
| bool | CenterX, | ||
| bool | CenterY, | ||
| Font | Font = GetFontDefault() |
||
| ) |
| void Shirag::Drawing::drawTextCenterTopRect | ( | Rectangle & | Rect, |
| std::string & | Text, | ||
| int | FontSize, | ||
| Color | TextColor, | ||
| int | TopOffset = 0, |
||
| Font | Font = GetFontDefault() |
||
| ) |