wlmaker
Toggle main menu visibility
Loading...
Searching...
No Matches
include
toolkit
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
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
// __cplusplus
30
32
typedef
struct
_wlmtk_image_t
wlmtk_image_t
;
33
41
wlmtk_image_t
*
wlmtk_image_create
(
42
const
char
*image_path_ptr);
43
53
wlmtk_image_t
*
wlmtk_image_create_scaled
(
54
const
char
*image_path_ptr,
55
int
width,
56
int
height);
57
63
void
wlmtk_image_destroy
(
wlmtk_image_t
*image_ptr);
64
66
wlmtk_element_t
*
wlmtk_image_element
(
wlmtk_image_t
*image_ptr);
67
69
extern
const
bs_test_case_t
wlmtk_image_test_cases
[];
70
71
#ifdef __cplusplus
72
}
// extern "C"
73
#endif
// __cplusplus
74
75
#endif
/* __IMAGE_H__ */
76
/* == End of image.h ================================================== */
element.h
wlmtk_element_t
struct _wlmtk_element_t wlmtk_element_t
Definition
element.h:37
wlmtk_image_test_cases
const bs_test_case_t wlmtk_image_test_cases[]
Definition
image.c:190
wlmtk_image_element
wlmtk_element_t * wlmtk_image_element(wlmtk_image_t *image_ptr)
Definition
image.c:101
wlmtk_image_destroy
void wlmtk_image_destroy(wlmtk_image_t *image_ptr)
Definition
image.c:94
wlmtk_image_t
struct _wlmtk_image_t wlmtk_image_t
Definition
image.h:32
wlmtk_image_create_scaled
wlmtk_image_t * wlmtk_image_create_scaled(const char *image_path_ptr, int width, int height)
Definition
image.c:64
wlmtk_image_create
wlmtk_image_t * wlmtk_image_create(const char *image_path_ptr)
Definition
image.c:58
_wlmtk_image_t
Definition
image.c:34
Generated by
1.17.0