hal_gfx_provisional.h
Go to the documentation of this file.
1 
2 
3 /** @addtogroup GRAPHICS_SDK Graphics
4  * @{
5  */
6 
7 /** @defgroup HAL_GFX_PROVISIONAL Hal gfx provisional
8  * @brief Provisional functions.
9  * @{
10  */
11 #ifndef HAL_GFX_PROVISIONAL_H__
12 #define HAL_GFX_PROVISIONAL_H__
13 
14 #include "hal_gfx_sys_defs.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 /**
21  * @defgroup HAL_GFX_PROVISIONAL_FUNCTION Functions
22  * @{
23  */
24 /**
25  *****************************************************************************************
26  * @brief Fill a triangle strip with color (float coordinates)
27  *
28  * @param[in] vertices: Pointer to vertices coordinated (first x coordinate of vertex,
29  * then y coordinate of vertex)
30  * @param[in] num_vertices: number of vertices
31  * @param[in] stride: Distance between two vertices
32  * @param[in] rgba8888: Color to be used
33  *****************************************************************************************
34  */
35 void hal_gfx_fill_triangle_strip_f(float* vertices, int num_vertices, int stride, uint32_t rgba8888);
36 
37 /**
38  *****************************************************************************************
39  * @brief Fill a traingle fan with color (float coordinates)
40  *
41  * @param[in] vertices: Pointer to vertices coordinated (first x coordinate of vertex,
42  * then y coordinate of vertex)
43  * @param[in] num_vertices: Number of vertices
44  * @param[in] stride: Distance between two vertices
45  * @param[in] rgba8888: Color to be used
46  *****************************************************************************************
47  */
48 void hal_gfx_fill_triangle_fan_f(float* vertices, int num_vertices, int stride, uint32_t rgba8888);
49 
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif
56 /** @} */
57 /** @} */
58 /** @} */
59 
hal_gfx_fill_triangle_fan_f
void hal_gfx_fill_triangle_fan_f(float *vertices, int num_vertices, int stride, uint32_t rgba8888)
Fill a traingle fan with color (float coordinates)
hal_gfx_fill_triangle_strip_f
void hal_gfx_fill_triangle_strip_f(float *vertices, int num_vertices, int stride, uint32_t rgba8888)
Fill a triangle strip with color (float coordinates)
hal_gfx_sys_defs.h