1 /** 2 * @file lv_draw_rect.h 3 * 4 */ 5 6 #ifndef LV_DRAW_RECT_H 7 #define LV_DRAW_RECT_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 #include "lv_draw.h" 17 18 /********************* 19 * DEFINES 20 *********************/ 21 22 /********************** 23 * TYPEDEFS 24 **********************/ 25 26 /********************** 27 * GLOBAL PROTOTYPES 28 **********************/ 29 30 /** 31 * Draw a rectangle 32 * @param coords the coordinates of the rectangle 33 * @param mask the rectangle will be drawn only in this mask 34 * @param style pointer to a style 35 * @param opa_scale scale down all opacities by the factor 36 */ 37 void lv_draw_rect(const lv_area_t * coords, const lv_area_t * mask, const lv_style_t * style, lv_opa_t opa_scale); 38 39 /********************** 40 * MACROS 41 **********************/ 42 43 #ifdef __cplusplus 44 } /* extern "C" */ 45 #endif 46 47 #endif /*LV_DRAW_RECT_H*/ 48