1#ifndef YAZE_APP_SERVICE_HEADLESS_OVERLAY_RENDERER_H_
2#define YAZE_APP_SERVICE_HEADLESS_OVERLAY_RENDERER_H_
28 void DrawFilledRect(
float x,
float y,
float w,
float h, uint8_t r, uint8_t g,
29 uint8_t b, uint8_t a);
32 void DrawRect(
float x,
float y,
float w,
float h, uint8_t r, uint8_t g,
33 uint8_t b, uint8_t a);
36 void DrawLine(
float x0,
float y0,
float x1,
float y1, uint8_t r, uint8_t g,
37 uint8_t b, uint8_t a);
42 void BlendPixel(
int px,
int py, uint8_t r, uint8_t g, uint8_t b, uint8_t a);
void DrawRect(float x, float y, float w, float h, uint8_t r, uint8_t g, uint8_t b, uint8_t a)
void BlendPixel(int px, int py, uint8_t r, uint8_t g, uint8_t b, uint8_t a)
void DrawLine(float x0, float y0, float x1, float y1, uint8_t r, uint8_t g, uint8_t b, uint8_t a)
std::vector< uint8_t > & rgba_
void DrawFilledRect(float x, float y, float w, float h, uint8_t r, uint8_t g, uint8_t b, uint8_t a)
HeadlessOverlayRenderer(std::vector< uint8_t > &rgba, int width, int height, float scale=1.0f)