Skip to content

Commit 7bee195

Browse files
committed
Way too many changes to document. Key things: history.tex reflects most if not all changes from R7. The specification of the requirements for image_surface_data_type operations and output_surface_data_type operations is complete. experimental-io2d.tex reflects the API I think. Fixed some issues in graph-surf-surfstate.tex. Plenty more still to do but we've made good progress.
1 parent f48eb46 commit 7bee195

23 files changed

+1077
-913
lines changed

papers/P0267R8.pdf

816 KB
Binary file not shown.

source/abs-matrix.tex

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
\rSec1 [\iotwod.absmatrix.synopsis] {Synopsis}
1717
\begin{codeblock}
18-
namespace std::experimemtal::io2d::v1 {
18+
namespace std::experimental::io2d::v1 {
1919
template <class GraphicsSurfaces>
2020
class basic_figure_items<GraphicsSurfaces>::abs_matrix {
2121
public:
@@ -66,10 +66,13 @@
6666
\end{itemdecl}
6767
\begin{itemdescr}
6868
\pnum
69-
\effects Equivalent to: \tcode{abs_matrix\{ basic_matrix_2d() \};}
69+
\effects Constructs an \tcode{abs_matrix} object.
7070

7171
\pnum
7272
\postconditions \tcode{data() == GraphicsSurfaces::paths::create_abs_matrix()}.
73+
74+
\pnum
75+
\remarks The transform matrix is \tcode{basic_matrix_2d<graphics_math_type()}.
7376
\end{itemdescr}
7477

7578
\indexlibrary{\idxcode{abs_matrix}!constructor}%
@@ -81,7 +84,10 @@
8184
\requires \tcode{m.is_invertible()} is \tcode{true}.
8285

8386
\pnum
84-
\effects Constructs an object of type \tcode{abs_matrix}.
87+
\effects Constructs an \tcode{abs_matrix} object.
88+
89+
\pnum
90+
\postconditions \tcode{data() == GraphicsSurfaces::paths::create_abs_matrix(m)}.
8591

8692
\pnum
8793
\remarks The transform matrix is \tcode{m}.

source/antialias.tex

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
\pnum
77
The antialias enum class specifies the type of anti-aliasing that the rendering
8-
system uses for rendering and composing paths. See
8+
system uses for rendering paths. See
99
Table~\ref{tab:\iotwod.antialias.meanings} for the meaning of each
1010
\tcode{antialias} enumerator.
1111

@@ -40,28 +40,18 @@
4040
\\ \capsep
4141
\endhead
4242
\tcode{none}
43-
& No anti-aliasing is performed.
43+
& No anti-aliasing is performed when performing a rendering operation.
4444
\\ \rowsep
4545
\tcode{fast}
46-
& Some form of anti-aliasing shall be used when this option is selected, but the form used is \impldefplain{antialiasing!fast}.
47-
\begin{note}
48-
By specifying this value, the user is hinting that faster anti-aliasing is
49-
preferable to better anti-aliasing.
50-
\end{note}
46+
& Some form of anti-aliasing should be used when performing a rendering operation but performance is more important than the quality of the results. The technique used is \impldef{antialiasing!fast}.
5147
\\ \rowsep
5248
\tcode{good}
53-
& Some form of anti-aliasing shall be used when this option is selected, but the form used is \impldefplain{antialiasing!good}.
54-
\begin{note}
55-
By specifying this value, the user is hinting that sacrificing some performance
56-
to obtain better anti-aliasing is acceptable but that performance is still a
57-
concern.
58-
\end{note}
49+
& Some form of anti-aliasing should be used when performing a rendering operation and the sacrificing some performance to obtain better anti-aliasing results than would likely be obtained from \tcode{antialias::fast} is acceptable. The technique used is \impldef{antialiasing!good}.
5950
\\ \rowsep
6051
\tcode{best}
61-
& Some form of anti-aliasing shall be used when this option is selected, but the form used is \impldefplain{antialiasing!best}.
52+
& Some form of anti-aliasing should be used when performing a rendering operation and better anti-aliasing results than would likely be obtained from \tcode{antialias::fast} and \tcode{antialias::good} are desired even if performance degrades significantly. The technique used is \impldef{antialiasing!best}.
6253
\begin{note}
63-
By specifying this value, the user is hinting that anti-aliasing is more
64-
important than performance.
54+
This might commonly be chosen when a user is going to render something once and cache the results for repeated use or when a user is rendering something that does not necessarily need performance suitable for real-time computer graphics applications.
6555
\end{note}
6656
\\
6757
\end{libreqtab2}

0 commit comments

Comments
 (0)