XenevaOS
Loading...
Searching...
No Matches
Functions
rrect.cpp File Reference
#include <arm_neon.h>
#include <stdint.h>
#include <chitralekha.h>
Include dependency graph for rrect.cpp:

Functions

void fill_rrect_neon (uint32_t *fb, int fb_stride, int x, int y, int w, int h, int radius, uint32_t color)
 
void fill_rrect_neon_aa (uint32_t *fb, int fb_stride, int x, int y, int w, int h, int radius, uint32_t color)
 
void draw_rrect_filled (ChCanvas *canv, int x, int y, int w, int h, int radius, uint32_t color)
 draw_rrect_filled – draws rounded rectangle filled
 

Function Documentation

◆ draw_rrect_filled()

void draw_rrect_filled ( ChCanvas canv,
int  x,
int  y,
int  w,
int  h,
int  radius,
uint32_t  color 
)

draw_rrect_filled – draws rounded rectangle filled

Parameters
canv– Pointer to canvas
x– X coordinate
y– Y coordinate
w– width of the rounded rect
h– Height of the rounded rectangle

◆ fill_rrect_neon()

void fill_rrect_neon ( uint32_t fb,
int  fb_stride,
int  x,
int  y,
int  w,
int  h,
int  radius,
uint32_t  color 
)

◆ fill_rrect_neon_aa()

void fill_rrect_neon_aa ( uint32_t fb,
int  fb_stride,
int  x,
int  y,
int  w,
int  h,
int  radius,
uint32_t  color 
)