wlmaker
Loading...
Searching...
No Matches
image.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMTK_IMAGE_H__
21#define __WLMTK_IMAGE_H__
22
23#include <libbase/libbase.h>
24
25#include "element.h"
26#include "env.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif // __cplusplus
31
34
44 const char *image_path_ptr,
45 wlmtk_env_t *env_ptr);
46
58 const char *image_path_ptr,
59 int width,
60 int height,
61 wlmtk_env_t *env_ptr);
62
68void wlmtk_image_destroy(wlmtk_image_t *image_ptr);
69
72
74extern const bs_test_case_t wlmtk_image_test_cases[];
75
76#ifdef __cplusplus
77} // extern "C"
78#endif // __cplusplus
79
80#endif /* __IMAGE_H__ */
81/* == End of image.h ================================================== */
const bs_test_case_t wlmtk_image_test_cases[]
Definition image.c:172
wlmtk_element_t * wlmtk_image_element(wlmtk_image_t *image_ptr)
Definition image.c:83
wlmtk_image_t * wlmtk_image_create(const char *image_path_ptr, wlmtk_env_t *env_ptr)
Definition image.c:37
wlmtk_image_t * wlmtk_image_create_scaled(const char *image_path_ptr, int width, int height, wlmtk_env_t *env_ptr)
Definition image.c:45
void wlmtk_image_destroy(wlmtk_image_t *image_ptr)
Definition image.c:76
Definition element.h:172
Definition env.c:32
Definition image.c:15