Loading...
Searching...
No Matches
text.h
Go to the documentation of this file.
#ifndef ARC_STD_TEXT_H_
#define ARC_STD_TEXT_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "arc/graphics/color.h"
#include "arc/graphics/renderer.h"
#include "arc/math/point.h"
#include "arc/std/string.h"
typedef struct ARC_Text ARC_Text;
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color);
void ARC_Text_Destroy(ARC_Text *font);
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string);
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer);
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos);
#ifdef __cplusplus
}
#endif
#endif //ARC_STD_STRING_H_
color.h
point.h
renderer.h
ARC_Renderer
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
string.h
ARC_Color
Definition color.h:10
ARC_Point
Definition point.h:10
ARC_String
substring position within a string
Definition string.h:14
ARC_Text
struct ARC_Text ARC_Text
Definition text.h:14
ARC_Text_SetString
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
ARC_Text_Create
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
ARC_Text_Destroy
void ARC_Text_Destroy(ARC_Text *font)
ARC_Text_Render
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer)
ARC_Text_SetPos
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos)