SayoriOS  0.3.3
pixel.h
1 #pragma once
2 
3 #ifndef SAYORI_PIXEL_H
4 #define SAYORI_PIXEL_H
5 
6 void drawRect(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t color);
7 void drawRectLine(int x,int y,int w, int h,int color,int color2, int c);
8 void drawRectBorder(int x, int y, int w, int h, int color);
9 void drawHorizontalLine(int x1, int x2, int y, uint32_t color);
10 void drawVerticalLine(int y1, int y2, int x, uint32_t color);
11 void drawCirclePoints(int cx, int cy, int x, int y, uint32_t color);
12 void drawCircle(int cx, int cy, int radius, uint32_t color);
13 void drawFilledCircle(int x0, int y0, int radius, uint32_t color);
14 void drawFilledRectBorder(int x0, int y0, int radius, int w, int mode, uint32_t color);
15 void drawRoundedSquare(int x, int y, int size, int radius, uint32_t fill_color, uint32_t border_color);
16 void drawRoundedRectangle(int x, int y, int width, int height, int radius, uint32_t fill_color, uint32_t border_color);
17 
18 
19 #endif //SAYORI_PIXEL_H
uint32_t mode
Режим работы (0 - Обычный | 1 - Режим логирования)
Definition: bootscreen.c:23
void drawCircle(int cx, int cy, int radius, uint32_t color)
Рисует круг
Definition: pixel.c:136
void drawRoundedRectangle(int x, int y, int width, int height, int radius, uint32_t fill_color, uint32_t border_color)
Рисуем округленный прямоугольник, закрашиваем его и обводим
Definition: pixel.c:263
void drawFilledCircle(int x0, int y0, int radius, uint32_t color)
Закрашивает круг
Definition: pixel.c:163
void drawRect(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t color)
Рисуем залитый прямоугольник
Definition: pixel.c:25
void drawFilledRectBorder(int x0, int y0, int radius, int w, int mode, uint32_t color)
Закрашивает округленный куб
Definition: pixel.c:195
void drawRectLine(int x, int y, int w, int h, int color, int color2, int c)
Рисует узор вокруг прямоугольника
Definition: pixel.c:44
void drawHorizontalLine(int x1, int x2, int y, uint32_t color)
Рисует горизонтальную линию
Definition: pixel.c:86
void drawVerticalLine(int y1, int y2, int x, uint32_t color)
Рисует вертикальную линию
Definition: pixel.c:100
void drawCirclePoints(int cx, int cy, int x, int y, uint32_t color)
Рисует окружные пиксели круга линию
Definition: pixel.c:117
void drawRectBorder(int x, int y, int w, int h, int color)
Рисует линию вокруг прямоугольника
Definition: pixel.c:66
void drawRoundedSquare(int x, int y, int size, int radius, uint32_t fill_color, uint32_t border_color)
Рисуем округленный куб закрашиваем его и обводим
Definition: pixel.c:227