mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-15 19:08:54 +00:00
27 lines
544 B
C
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 */
|