Path: blob/master/bdk/libs/lvgl/lv_draw/lv_draw_triangle.h
1476 views
/**1* @file lv_draw_triangle.h2*3*/45#ifndef LV_DRAW_TRIANGLE_H6#define LV_DRAW_TRIANGLE_H78#ifdef __cplusplus9extern "C" {10#endif1112/*********************13* INCLUDES14*********************/15#include "lv_draw.h"1617/*********************18* DEFINES19*********************/2021/**********************22* TYPEDEFS23**********************/2425/**********************26* GLOBAL PROTOTYPES27**********************/28/*Experimental use for 3D modeling*/29#define USE_LV_TRIANGLE 13031#if USE_LV_TRIANGLE != 032/**33*34* @param points pointer to an array with 3 points35* @param mask the triangle will be drawn only in this mask36* @param color color of the triangle37*/38void lv_draw_triangle(const lv_point_t * points, const lv_area_t * mask, lv_color_t color);39#endif4041/**********************42* MACROS43**********************/444546#ifdef __cplusplus47} /* extern "C" */48#endif4950#endif /*LV_DRAW_TRIANGLE_H*/515253