Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
CTCaer
GitHub Repository: CTCaer/hekate
Path: blob/master/bdk/libs/lvgl/lv_draw/lv_draw_line.h
1476 views
1
/**
2
* @file lv_draw_line.h
3
*
4
*/
5
6
#ifndef LV_DRAW_LINE_H
7
#define LV_DRAW_LINE_H
8
9
#ifdef __cplusplus
10
extern "C" {
11
#endif
12
13
/*********************
14
* INCLUDES
15
*********************/
16
17
/*********************
18
* DEFINES
19
*********************/
20
21
/**********************
22
* TYPEDEFS
23
**********************/
24
25
/**********************
26
* GLOBAL PROTOTYPES
27
**********************/
28
29
/**
30
* Draw a line
31
* @param point1 first point of the line
32
* @param point2 second point of the line
33
* @param mask the line will be drawn only on this area
34
* @param style pointer to a line's style
35
* @param opa_scale scale down all opacities by the factor
36
*/
37
void lv_draw_line(const lv_point_t * point1, const lv_point_t * point2, const lv_area_t * mask,
38
const lv_style_t * style, lv_opa_t opa_scale);
39
40
/**********************
41
* MACROS
42
**********************/
43
44
45
#ifdef __cplusplus
46
} /* extern "C" */
47
#endif
48
49
#endif /*LV_DRAW_LINE_H*/
50
51