Files
luban-lite-t3e-pro/packages/third-party/awtk-ui/awtk/3rd/nanovg/agg/nanovg_agg.h
刘可亮 3b4064f334 v1.0.2
2023-11-30 19:48:02 +08:00

27 lines
544 B
C

#ifndef NANOVG_AGG_H
#define NANOVG_AGG_H
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include "nanovg.h"
#ifndef M_PI
#define M_PI 3.1415926f
#endif /*M_PI*/
#ifdef __cplusplus
extern "C" {
#endif
NVGcontext* nvgCreateAGG(uint32_t w, uint32_t h, uint32_t stride, enum NVGtexture format, uint8_t* data);
void nvgReinitAgge(NVGcontext* ctx, uint32_t w, uint32_t h, uint32_t stride, enum NVGtexture, uint8_t* data);
void nvgDeleteAGG(NVGcontext* ctx);
#ifdef __cplusplus
}
#endif
#endif /* NANOVG_AGG_H */