Loading...
Searching...
No Matches
text.c
Go to the documentation of this file.
#ifdef ARC_OPENGL_GRAPHICS
#include "arc/graphics/text.h"
#include <stdio.h>
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color){
printf("OpenGL Backend Selected\n");
}
void ARC_Text_Destroy(ARC_Text *font){
printf("OpenGL Backend Selected\n");
}
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string){
printf("OpenGL Backend Selected\n");
}
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer){
printf("OpenGL Backend Selected\n");
}
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos){
printf("OpenGL Backend Selected\n");
}
#endif // !ARC_OPENGL_GRAPHICS
ARC_Renderer
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
text.h
ARC_Text_SetString
void ARC_Text_SetString(ARC_Text *text, ARC_Renderer *renderer, ARC_String *string)
Definition text.c:34
ARC_Text_Create
void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color color)
Definition text.c:11
ARC_Text_Destroy
void ARC_Text_Destroy(ARC_Text *font)
Definition text.c:26
ARC_Text_Render
void ARC_Text_Render(ARC_Text *text, ARC_Renderer *renderer)
Definition text.c:52
ARC_Text_SetPos
void ARC_Text_SetPos(ARC_Text *text, ARC_Point pos)
Definition text.c:61
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
Definition text.h:10