added obround might need to optomize or add rotation in the futrue
This commit is contained in:
parent
092908819d
commit
c3361f640c
5 changed files with 91 additions and 0 deletions
21
include/arc/graphics/obround.h
Normal file
21
include/arc/graphics/obround.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef ARC_GRAPHICS_OBROUND_H_
|
||||
#define ARC_GRAPHICS_OBROUND_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "arc/graphics/color.h"
|
||||
#include "arc/graphics/renderer.h"
|
||||
#include "arc/math/obround.h"
|
||||
#include <stdint.h>
|
||||
|
||||
void ARC_Obround_Render(ARC_Obround *obround, ARC_Renderer *renderer, ARC_Color *color);
|
||||
|
||||
// void ARC_Rect_RenderFill(ARC_Rect *rect, ARC_Renderer *renderer, ARC_Color *color);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // !ARC_GRAPHICS_OBROUND_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue