Skip to content

Commit ad2ab29

Browse files
committed
Began graph-surf-surfaces.tex. Realized that terms-and-definitions.tex needs to be cleaned up. See <TODO> line added to the beginning of terms-and-definitions.tex.
1 parent 20021c8 commit ad2ab29

File tree

2 files changed

+137
-31
lines changed

2 files changed

+137
-31
lines changed

β€Žsource/graph-surf-surfaces.tex

Lines changed: 134 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,137 @@
66
Let \tcode{X} be a \graphicssurfacestemplparam type.
77

88
\pnum
9-
<TODO>
10-
11-
%All expressions in Table~\ref{tab:\iotwod.graphicssurfaces.graphicssurfaces.requirements} are \tcode{noexcept}. For purposes of brevity, \tcode{noexcept} is omitted in the table.
12-
%
13-
%\begin{libreqtab4d}
14-
%{Graphics surfaces requirements}
15-
%{tab:\iotwod.graphicssurfaces.graphicssurfaces.requirements}
16-
%\\ \topline
17-
%\lhdr{Expression} & \chdr{Return type} & \chdr{Operational} &
18-
%\rhdr{Assertion/note} \\
19-
% & & \chdr{semantics} & \rhdr{pre-/post-condition} \\ \capsep
20-
%\endfirsthead
21-
%\continuedcaption\\
22-
%\topline
23-
%\lhdr{Expression} & \chdr{Return type} & \chdr{Operational} &
24-
%\rhdr{Assertion/note} \\
25-
% & & \chdr{semantics} & \rhdr{pre-/post-condition} \\ \capsep
26-
%\endhead
27-
% &
28-
% &
29-
% &
30-
% \\ \rowsep
31-
% &
32-
% &
33-
% &
34-
% \\ \rowsep
35-
% &
36-
% &
37-
% &
38-
% \\
39-
%\end{libreqtab4d}
9+
Let \tcode{G} be a \graphicsmathtemplparam type.
10+
11+
\pnum
12+
Let \tcode{IR} be a pixmap.% of \unspec type.
13+
14+
\pnum
15+
Let \tcode{OR} be an output surface of \unspec type.
16+
17+
\pnum
18+
Let \tcode{UR} be an unmanaged output <TODO> ??? \underlyingrendandpresenttechs
19+
20+
\pnum
21+
Table~\ref{tab:\iotwod.graphsurf.surfs.requirementstab} describes the observable effects of the member functions of \tcode{X::surfaces}.
22+
23+
\pnum
24+
Table~\ref{tab:\iotwod.graphsurf.surfs.typedefnamestab} defines the required \grammarterm{typedef-name}{s} in \tcode{X::surfaces}, which are identifiers for class types capable of storing all data required to support the corresponding class template.
25+
26+
\begin{libreqtab2}{\tcode{X::surfaces} typedef-names}{tab:\iotwod.graphsurf.surfs.typedefnamestab}
27+
\\ \topline
28+
\lhdr{\grammarterm{typedef-name}} &
29+
\rhdr{Class data} \\ \capsep
30+
\endfirsthead
31+
\continuedcaption\\
32+
\topline
33+
\lhdr{\grammarterm{typedef-name}} &
34+
\rhdr{Class template} \\ \capsep
35+
\endhead
36+
\tcode{image_surface_data_type} &
37+
\tcode{basic_image_surface} \\ \rowsep
38+
\tcode{output_surface_data_type} &
39+
\tcode{basic_output_surface} \\ \rowsep
40+
\tcode{unmanaged_output_surface_data_type} &
41+
\tcode{basic_unmanaged_output_surface} \\
42+
\end{libreqtab2}
43+
44+
\pnum
45+
In Table~\ref{tab:\iotwod.graphsurf.surfs.requirementstab}, \tcode{IM} denotes the type \tcode{X::surfaces::image_surface_data_type}, \tcode{OU} denotes the type \tcode{X::surfaces::output_surface_data_type}, \tcode{UN} denotes the type \tcode{X::surfaces::unmanaged_output_data_type},
46+
\tcode{BB} denotes the type \tcode{basic_bounding_box<G>}, \tcode{IP} denotes the type \tcode{basic_interpreted_path<X>}, \tcode{FI} denotes the type \tcode{basic_figure_items<X>::figure_item}, \tcode{M} denotes the type \tcode{basic_matrix_2d<G>}, and \tcode{P} denotes the type \tcode{basic_point_2d<G>}.
47+
48+
\pnum
49+
In order to describe the observable effects of functions contained in Table~\ref{tab:\iotwod.graphsurf.surfs.requirementstab}, Table~\ref{tab:\iotwod.graphsurf.surfs.typememberdata} describes the types contained in \tcode{X} as-if they possessed certain member data.
50+
51+
\begin{libiotwodreqtab3f}{\tcode{X::surfaces} type member data}{tab:\iotwod.graphsurf.surfs.typememberdata}
52+
\\ \topline
53+
\lhdr{Type} & \chdr{Member data} & \rhdr{Member data type} \\ \capsep
54+
\endfirsthead
55+
\topline
56+
\lhdr{Type} & \chdr{Member data} & \rhdr{Member data type} \\ \capsep
57+
\endhead
58+
\tcode{render_props_data_type} &
59+
\tcode{a} &
60+
\tcode{antialias} \\ \rowsep
61+
\tcode{render_props_data_type} &
62+
\tcode{m} &
63+
\tcode{M} \\ \rowsep
64+
\tcode{render_props_data_type} &
65+
\tcode{c} &
66+
\tcode{compositing_op} \\ \rowsep
67+
\tcode{brush_props_data_type} &
68+
\tcode{w} &
69+
\tcode{wrap_mode} \\ \rowsep
70+
\tcode{brush_props_data_type} &
71+
\tcode{fi} &
72+
\tcode{filter} \\ \rowsep
73+
\tcode{brush_props_data_type} &
74+
\tcode{fr} &
75+
\tcode{fill_rule} \\ \rowsep
76+
\tcode{brush_props_data_type} &
77+
\tcode{m} &
78+
\tcode{M} \\ \rowsep
79+
\tcode{clip_props_data_type} &
80+
\tcode{optional<IP>} &
81+
\tcode{c} \\ \rowsep
82+
\tcode{clip_props_data_type} &
83+
\tcode{fr} &
84+
\tcode{fill_rule} \\ \rowsep
85+
\tcode{stroke_props_data_type} &
86+
\tcode{lw} &
87+
\tcode{float} \\ \rowsep
88+
\tcode{stroke_props_data_type} &
89+
\tcode{ml} &
90+
\tcode{float} \\ \rowsep
91+
\tcode{stroke_props_data_type} &
92+
\tcode{lc} &
93+
\tcode{line_cap} \\ \rowsep
94+
\tcode{stroke_props_data_type} &
95+
\tcode{lj} &
96+
\tcode{line_join} \\ \rowsep
97+
\tcode{mask_props_data_type} &
98+
\tcode{wm} &
99+
\tcode{wrap_mode} \\ \rowsep
100+
\tcode{mask_props_data_type} &
101+
\tcode{fi} &
102+
\tcode{filter} \\ \rowsep
103+
\tcode{mask_props_data_type} &
104+
\tcode{m} &
105+
\tcode{M} \\ \rowsep
106+
\tcode{dashes_data_type} &
107+
\tcode{o} &
108+
\tcode{float} \\ \rowsep
109+
\tcode{dashes_data_type} &
110+
\tcode{p} &
111+
\tcode{vector<float>} \\
112+
\end{libiotwodreqtab3f}
113+
114+
All expressions in Table~\ref{tab:\iotwod.graphsurf.surfs.requirementstab} are \tcode{noexcept}. For purposes of brevity, \tcode{noexcept} is omitted in the table.
115+
116+
\begin{libreqtab4d}
117+
{Graphics surfaces requirements}
118+
{tab:\iotwod.graphsurf.surfs.requirementstab}
119+
\\ \topline
120+
\lhdr{Expression} & \chdr{Return type} & \chdr{Operational} &
121+
\rhdr{Assertion/note} \\
122+
& & \chdr{semantics} & \rhdr{pre-/post-condition} \\ \capsep
123+
\endfirsthead
124+
\continuedcaption\\
125+
\topline
126+
\lhdr{Expression} & \chdr{Return type} & \chdr{Operational} &
127+
\rhdr{Assertion/note} \\
128+
& & \chdr{semantics} & \rhdr{pre-/post-condition} \\ \capsep
129+
\endhead
130+
&
131+
&
132+
&
133+
\\ \rowsep
134+
&
135+
&
136+
&
137+
\\ \rowsep
138+
&
139+
&
140+
&
141+
\\
142+
\end{libreqtab4d}

β€Žsource/terms-and-definitions.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
\rSec0[\iotwod.defns]{Terms and definitions}
44

5+
\pnum
6+
<TODO> Remove \\term from most if not all definitions (only keep when exact same term is used in different contexts). Adjust terms so that they build on each other (pixmap should be used far more in the paper and raster graphics data should probably just be rolled into pixmap or graphics data, by itself, should not be a term), etc.
7+
58
\indextext{definitions|(}%
69
For the purposes of this document, the following terms and definitions apply.
710
ISO and IEC maintain terminological databases for use in standardization at the following addresses:

0 commit comments

Comments
 (0)