53 lines
980 B
C
53 lines
980 B
C
/**
|
|
* @file lv_draw_sw_blend.h
|
|
*
|
|
*/
|
|
|
|
#ifndef LV_DRAW_SW_BLEND_H
|
|
#define LV_DRAW_SW_BLEND_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*********************
|
|
* INCLUDES
|
|
*********************/
|
|
#include "../lv_draw_sw_mask.h"
|
|
#if LV_USE_DRAW_SW
|
|
|
|
#include "../../../misc/lv_color.h"
|
|
#include "../../../misc/lv_area.h"
|
|
#include "../../../misc/lv_style.h"
|
|
|
|
/*********************
|
|
* DEFINES
|
|
*********************/
|
|
|
|
/**********************
|
|
* TYPEDEFS
|
|
**********************/
|
|
|
|
/**********************
|
|
* GLOBAL PROTOTYPES
|
|
**********************/
|
|
|
|
/**
|
|
* Call the blend function of the `layer`.
|
|
* @param draw_unit pointer to a draw unit
|
|
* @param dsc pointer to an initialized blend descriptor
|
|
*/
|
|
void lv_draw_sw_blend(lv_draw_unit_t * draw_unit, const lv_draw_sw_blend_dsc_t * dsc);
|
|
|
|
/**********************
|
|
* MACROS
|
|
**********************/
|
|
|
|
#endif /*LV_USE_DRAW_SW*/
|
|
|
|
#ifdef __cplusplus
|
|
} /*extern "C"*/
|
|
#endif
|
|
|
|
#endif /*LV_DRAW_SW_BLEND_H*/
|