Skip to content

Commit e5cebac

Browse files
committed
Fixed definitions of at point in abs-new-figure.tex and rel-new-figure.tex. Removed type definitions and equality operator declarations for rel_new_figure and close_figure from path-data-intro.tex.
1 parent 755573a commit e5cebac

File tree

3 files changed

+8
-52
lines changed

3 files changed

+8
-52
lines changed

source/abs-new-figure.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77
\indexlibrary{\idxcode{abs_new_figure}}%
88
The class template \tcode{basic_figure_items<GraphicsSurfaces>::abs_new_figure} describes a figure item that is a new figure command.
99

10+
%\pnum
11+
%Let \tcode{X} be the type \tcode{GraphicsSurfaces::graphics_math_type}.
12+
%
1013
\pnum
11-
It has an \term{at point} of type \tcode{point_2d}.
14+
It has an \term{at point} of type \tcode{basic_point_2d<GraphicsSurfaces::graphics_math_type>}.
1215

1316
\pnum
1417
The data are stored in an object of type \tcode{typename GraphicsSurfaces::paths::abs_new_figure_data_type}. It is accessible using the \tcode{data} member functions.

source/path-data-intro.tex

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -42,32 +42,6 @@
4242
abs_new_figure, abs_quadratic_curve, arc, close_figure, rel_cubic_curve,
4343
rel_line, rel_matrix, rel_new_figure, rel_quadratic_curve, revert_matrix>;
4444

45-
class rel_new_figure {
46-
public:
47-
// \ref{\iotwod.relnewfigure.cons}, construct:
48-
rel_new_figure() noexcept;
49-
explicit rel_new_figure(const basic_point_2d<typename
50-
GraphicsSurfaces::graphics_math_type>& pt) noexcept;
51-
rel_new_figure(const rel_new_figure& other);
52-
rel_new_figure(rel_new_figure&& other) noexcept;
53-
54-
// \ref{\iotwod.relnewfigure.assign}, assign:
55-
rel_new_figure& operator=(const rel_new_figure& other);
56-
rel_new_figure& operator=(rel_new_figure&& other) noexcept;
57-
58-
// \ref{\iotwod.relnewfigure.modifiers}, modifiers:
59-
void at(const basic_point_2d<typename GraphicsSurfaces::graphics_math_type>& pt) noexcept;
60-
61-
// \ref{\iotwod.relnewfigure.observers}, observers:
62-
basic_point_2d<typename GraphicsSurfaces::graphics_math_type> at() const noexcept;
63-
};
64-
65-
class close_figure {
66-
public:
67-
// \ref{\iotwod.closefigure.cons}, construct:
68-
constexpr close_figure() noexcept;
69-
};
70-
7145
class abs_matrix {
7246
public:
7347
// \ref{\iotwod.absmatrix.cons}, construct:
@@ -296,30 +270,6 @@
296270
rel_new_figure, rel_quadratic_curve, revert_matrix>;
297271
};
298272

299-
// \ref{\iotwod.relnewfigure.ops}, rel_new_figure operators:
300-
template <class GraphicsSurfaces>
301-
bool operator==(
302-
const typename basic_figure_items<GraphicsSurfaces>::rel_new_figure& lhs,
303-
const typename basic_figure_items<GraphicsSurfaces>::rel_new_figure& rhs)
304-
noexcept;
305-
template <class GraphicsSurfaces>
306-
bool operator!=(
307-
const typename basic_figure_items<GraphicsSurfaces>::rel_new_figure& lhs,
308-
const typename basic_figure_items<GraphicsSurfaces>::rel_new_figure& rhs)
309-
noexcept;
310-
311-
// \ref{\iotwod.closefigure.ops}, close_figure operators:
312-
template <class GraphicsSurfaces>
313-
bool operator==(
314-
const typename basic_figure_items<GraphicsSurfaces>::close_figure& lhs,
315-
const typename basic_figure_items<GraphicsSurfaces>::close_figure& rhs)
316-
noexcept;
317-
template <class GraphicsSurfaces>
318-
bool operator!=(
319-
const typename basic_figure_items<GraphicsSurfaces>::close_figure& lhs,
320-
const typename basic_figure_items<GraphicsSurfaces>::close_figure& rhs)
321-
noexcept;
322-
323273
// \ref{\iotwod.absmatrix.ops}, abs_matrix operators:
324274
template <class GraphicsSurfaces>
325275
bool operator==(

source/rel-new-figure.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77
\indexlibrary{\idxcode{rel_new_figure}}%
88
The class template \tcode{basic_figure_items<GraphicsSurfaces>::rel_new_figure} describes a figure item that is a new figure command.
99

10+
%\pnum
11+
%Let \tcode{X} be the type \tcode{GraphicsSurfaces::graphics_math_type}.
12+
%
1013
\pnum
11-
It has an \term{at point} of type \tcode{point_2d}.
14+
It has an \term{at point} of type \tcode{basic_point_2d<GraphicsSurfaces::graphics_math_type>}.
1215

1316
\pnum
1417
The data are stored in an object of type \tcode{typename GraphicsSurfaces::paths::rel_new_figure_data_type}. It is accessible using the \tcode{data} member functions.

0 commit comments

Comments
 (0)