KolibriLib
|
различные графические примитивы More...
Functions | |
template<class POINTTYPE > | |
void | DrawLine (const point< POINTTYPE > &a, const point< POINTTYPE > &b, const ksys_color_t color=OS::sys_color_table.work_graph) |
Нарисовать линию | |
template<class POINTTYPE > | |
void | DrawPixel (const point< POINTTYPE > &position, const ksys_color_t color=OS::sys_color_table.work_text) |
Закрасить пиксель точку | |
void | DrawCircle (const point< int > &coord, const unsigned &Radius, const unsigned &detalization=36, ksys_color_t color=OS::sys_color_table.work_graph) |
Нарисовать окружность | |
template<class POINTTYPE > | |
void | DrawRectangleFill (const point< POINTTYPE > &position, const point< POINTTYPE > &size, const ksys_color_t &color=OS::sys_color_table.work_graph) |
Нарисовать закрашенный прямоугольник | |
void | DrawCircleFill (const point< int > &coord, const unsigned &Radius, const unsigned &detalization=36, const ksys_color_t &color=OS::sys_color_table.work_graph) |
Нарисовать круг(закрашенный) | |
void | DrawPoint (const point< unsigned > &position, const unsigned &Radius, const ksys_color_t &color=OS::sys_color_table.work_graph, bool fill=false) |
Нарисовать точку | |
void | DrawRectangleLines (point< unsigned > a, point< unsigned > b, ksys_color_t color=OS::sys_color_table.work_graph) |
Нарисовать прямоугольник | |
void | DrawTriangle (point< unsigned > a, point< unsigned > b, point< unsigned > c, ksys_color_t color=OS::sys_color_table.work_graph) |
Нарисовать треугольник | |
void | DrawPoint (const point< int > &position, const unsigned &Radius, const ksys_color_t &color, bool fill) |
различные графические примитивы
void KolibriLib::graphic::DrawCircle | ( | const point< int > & | coord, |
const unsigned & | Radius, | ||
const unsigned & | detalization = 36, | ||
ksys_color_t | color = OS::sys_color_table.work_graph ) |
void KolibriLib::graphic::DrawCircleFill | ( | const point< int > & | coord, |
const unsigned & | Radius, | ||
const unsigned & | detalization = 36, | ||
const ksys_color_t & | color = OS::sys_color_table.work_graph ) |
Нарисовать круг(закрашенный)
coord | Координаты центра |
Radius | Радиус круга |
color | Цвет |
|
inline |
Нарисовать линию
a | точка первая |
b | точка вторая |
|
inline |
Закрасить пиксель точку
position | координаты |
color | Цвет |
void KolibriLib::graphic::DrawPoint | ( | const point< unsigned > & | position, |
const unsigned & | Radius, | ||
const ksys_color_t & | color = OS::sys_color_table.work_graph, | ||
bool | fill = false ) |
Нарисовать точку
position | Координаты |
size | Радиус точки в рx |
color | Цвет |
fill | Закрашенная/Выколотая точка |
void KolibriLib::graphic::DrawRectangleFill | ( | const point< POINTTYPE > & | position, |
const point< POINTTYPE > & | size, | ||
const ksys_color_t & | color = OS::sys_color_table.work_graph ) |
Нарисовать закрашенный прямоугольник
position | позиция левого верхнего угла |
size | Размеры |
color | Цвет |
void KolibriLib::graphic::DrawRectangleLines | ( | point< unsigned > | a, |
point< unsigned > | b, | ||
ksys_color_t | color = OS::sys_color_table.work_graph ) |
Нарисовать прямоугольник
a | Точка в левом верхнем углу |
b | Точка в правом нижнем углу |