mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-04 21:17:50 +08:00
28 lines
575 B
C
28 lines
575 B
C
#ifndef NANOVG_AGGE_H
|
|
#define NANOVG_AGGE_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* nvgCreateAGGE(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 format,
|
|
uint8_t* data);
|
|
void nvgDeleteAGGE(NVGcontext* ctx);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* NANOVG_AGGE_H */
|