#include <Shapes.h>
◆ Marked_polyline() [1/3]
Graph_lib::Marked_polyline::Marked_polyline |
( |
const std::string & | _mark | ) |
|
|
inline |
std::string mark
Definition Shapes.h:343
◆ Marked_polyline() [2/3]
Graph_lib::Marked_polyline::Marked_polyline |
( |
const std::string & | _mark, |
|
|
std::initializer_list< Point > | _points ) |
|
inline |
329 : Open_polyline{_points},
mark{_mark} {}
◆ Marked_polyline() [3/3]
Graph_lib::Marked_polyline::Marked_polyline |
( |
std::initializer_list< Point > | _points | ) |
|
|
inline |
332 : Open_polyline{_points} {}
◆ add()
void Graph_lib::Open_polyline::add |
( |
Point | p | ) |
|
|
inlineinherited |
void add(Point p)
Definition Shapes.h:176
◆ color()
Color Graph_lib::Shape::color |
( |
| ) |
const |
|
inlineinherited |
Color c
Definition Shapes.h:213
◆ draw()
void Graph_lib::Shape::draw |
( |
| ) |
const |
|
inherited |
10 {
12
18}
Line_style ls
Definition Shapes.h:214
virtual void draw_lines() const
Definition Shapes.cpp:20
W & reference_to(void *ptr_wid)
Definition Widgets.h:16
unsigned int as_uint() const
Definition Shapes.h:57
pix_amount w() const
Definition Shapes.h:94
unsigned int style() const
Definition Shapes.h:96
◆ draw_lines()
void Graph_lib::Marked_polyline::draw_lines |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from Graph_lib::Shape.
93 {
97}
void draw_lines() const override
Definition Shapes.cpp:37
size_t number_of_points() const
Definition Shapes.h:203
Point point(int i) const
Definition Shapes.h:201
void draw_mark(Point _loc, char c)
Рисует 1 марку
Definition Shapes.cpp:86
◆ fill_color()
Color Graph_lib::Shape::fill_color |
( |
| ) |
const |
|
inlineinherited |
Color f_c
Definition Shapes.h:215
◆ get_style()
◆ move()
Reimplemented in Graph_lib::Image.
28 {
29 for (
unsigned int i = 0; i <
points.size(); ++
i) {
32 }
33}
std::vector< Point > points
Definition Shapes.h:212
◆ number_of_points()
size_t Graph_lib::Shape::number_of_points |
( |
| ) |
const |
|
inlineinherited |
◆ point()
Point Graph_lib::Shape::point |
( |
int | i | ) |
const |
|
inlineinherited |
◆ set_color()
void Graph_lib::Shape::set_color |
( |
Color | _color | ) |
|
|
inlineinherited |
◆ set_fill_color()
void Graph_lib::Shape::set_fill_color |
( |
Color | _color | ) |
|
|
inlineinherited |
◆ set_point()
◆ set_style()
◆ Shape() [1/3]
Graph_lib::Shape::Shape |
( |
| ) |
|
|
inlinedefaultinherited |
◆ Shape() [2/3]
◆ Shape() [3/3]
Graph_lib::Shape::Shape |
( |
std::initializer_list< Point > | _points | ) |
|
|
inlineinherited |
158 {
160 }
void add(Point p)
Definition Shapes.h:240
◆ f_c
@ invisible
Definition Shapes.h:41
◆ ls
◆ mark
std::string Graph_lib::Marked_polyline::mark {"*"} |
|
private |
◆ points
std::vector<Point> Graph_lib::Shape::points |
|
privateinherited |
The documentation for this class was generated from the following files: