wlmaker
Loading...
Searching...
No Matches
rectangle.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMTK_RECTANGLE_H__
21#define __WLMTK_RECTANGLE_H__
22
23#include <libbase/libbase.h>
24#include <stdint.h>
25
26#include "element.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif // __cplusplus
31
34
45 int width,
46 int height,
47 uint32_t color);
48
55
64 wlmtk_rectangle_t *rectangle_ptr,
65 int width,
66 int height);
67
75 wlmtk_rectangle_t *rectangle_ptr,
76 uint32_t color);
77
80
91
93extern const bs_test_case_t wlmtk_rectangle_test_cases[];
94
95#ifdef __cplusplus
96} // extern "C"
97#endif // __cplusplus
98
99#endif /* __WLMTK_RECTANGLE_H__ */
100/* == End of rectangle.h =================================================== */
wlmtk_rectangle_t * wlmtk_rectangle_create(int width, int height, uint32_t color)
Definition rectangle.c:88
void wlmtk_rectangle_set_color(wlmtk_rectangle_t *rectangle_ptr, uint32_t color)
Definition rectangle.c:141
void wlmtk_rectangle_set_size(wlmtk_rectangle_t *rectangle_ptr, int width, int height)
Definition rectangle.c:124
void wlmtk_rectangle_destroy(wlmtk_rectangle_t *rectangle_ptr)
Definition rectangle.c:112
wlmtk_rectangle_t * wlmtk_rectangle_from_element(wlmtk_element_t *element_ptr)
Definition rectangle.c:162
wlmtk_element_t * wlmtk_rectangle_element(wlmtk_rectangle_t *rectangle_ptr)
Definition rectangle.c:156
const bs_test_case_t wlmtk_rectangle_test_cases[]
Definition rectangle.c:284
Definition element.h:175
Definition rectangle.c:39
uint32_t color
Definition rectangle.c:50
int width
Definition rectangle.c:46
int height
Definition rectangle.c:48