/**1* @file lv_draw_rbasic..h2*3*/45#ifndef LV_DRAW_RBASIC_H6#define LV_DRAW_RBASIC_H78#ifdef __cplusplus9extern "C" {10#endif1112/*********************13* INCLUDES14*********************/15#ifdef LV_CONF_INCLUDE_SIMPLE16#include "lv_conf.h"17#else18#include "../../lv_conf.h"19#endif2021#if USE_LV_REAL_DRAW != 02223#include "../lv_misc/lv_color.h"24#include "../lv_misc/lv_area.h"25#include "../lv_misc/lv_font.h"2627/*********************28* DEFINES29*********************/3031/**********************32* TYPEDEFS33**********************/3435/**********************36* GLOBAL PROTOTYPES37**********************/3839void lv_rpx(lv_coord_t x, lv_coord_t y, const lv_area_t * mask_p, lv_color_t color, lv_opa_t opa);4041/**42* Fill an area on the display43* @param cords_p coordinates of the area to fill44* @param mask_p fill only o this mask45* @param color fill color46* @param opa opacity (ignored, only for compatibility with lv_vfill)47*/48void lv_rfill(const lv_area_t * cords_p, const lv_area_t * mask_p,49lv_color_t color, lv_opa_t opa);5051/**52* Draw a letter to the display53* @param pos_p left-top coordinate of the latter54* @param mask_p the letter will be drawn only on this area55* @param font_p pointer to font56* @param letter a letter to draw57* @param color color of letter58* @param opa opacity of letter (ignored, only for compatibility with lv_vletter)59*/60void lv_rletter(const lv_point_t * pos_p, const lv_area_t * mask_p,61const lv_font_t * font_p, uint32_t letter,62lv_color_t color, lv_opa_t opa);6364/**65* When the letter is ant-aliased it needs to know the background color66* @param bg_color the background color of the currently drawn letter67*/68void lv_rletter_set_background(lv_color_t color);697071/**72* Draw a color map to the display (image)73* @param cords_p coordinates the color map74* @param mask_p the map will drawn only on this area75* @param map_p pointer to a lv_color_t array76* @param opa opacity of the map (ignored, only for compatibility with 'lv_vmap')77* @param chroma_keyed true: enable transparency of LV_IMG_LV_COLOR_TRANSP color pixels78* @param alpha_byte true: extra alpha byte is inserted for every pixel (not supported, only l'v_vmap' can draw it)79* @param recolor mix the pixels with this color80* @param recolor_opa the intense of recoloring81*/82void lv_rmap(const lv_area_t * cords_p, const lv_area_t * mask_p,83const uint8_t * map_p, lv_opa_t opa, bool chroma_key, bool alpha_byte,84lv_color_t recolor, lv_opa_t recolor_opa);85/**********************86* MACROS87**********************/8889#endif /*USE_LV_REAL_DRAW*/9091#ifdef __cplusplus92} /* extern "C" */93#endif9495#endif /*LV_DRAW_RBASIC_H*/969798