Skip to content

Commit 0155c9d

Browse files
committed
Finished cleanup of brushes. Removed fonts and glyphs.
1 parent 0611d03 commit 0155c9d

18 files changed

+158
-2369
lines changed

source/brush.tex

Lines changed: 125 additions & 106 deletions
Large diffs are not rendered by default.

source/brushes.tex

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@
55
\pnum
66
Brushes serve as sources of visual data for composing operations.
77

8+
There are four types of brushes:
9+
\begin{itemize}
10+
\item color;
11+
\item linear gradient;
12+
\item radial gradient; and,
13+
\item surface.
14+
\end{itemize}
15+
816
\pnum
9-
A brush has its own coordinate space (by default the standard coordinate space).
17+
A brush has its own coordinate space (by default the standard coordinate space). It is controlled by a \tcode{matrix_2d} value.
1018

1119
\pnum
1220
It possesses a \tcode{filter} value and a \tcode{tiling} value, which combine to determine the visual data value returned when a composing operation samples a brush.
@@ -17,20 +25,18 @@
1725
\pnum
1826
The \tcode{tiling} value controls what happens when a composing operation needs to sample from a point that is outside of the bounds of the brush.
1927

28+
%\pnum
29+
%Excluding brushes created using a \tcode{solid_color_brush_factory} object, brushes produce very different composing operation results depending on the values of their mutable state.
30+
%
31+
2032
\pnum
21-
A brush is created using one of four factory classes:
22-
\begin{itemize}
23-
\item \tcode{solid_color_brush_factory},
24-
\item \tcode{linear_brush_factory},
25-
\item \tcode{radial_brush_factory}, and
26-
\item \tcode{surface_brush_factory}.
27-
\end{itemize}
33+
Color brushes produce the same sampling result regardless of their coordinate space, \tcode{filter}, and \tcode{tiling}. They are unbounded and as such always produce the \tcode{rgba_color} value they were created with when sampled from, regardless of the requested point.
2834

2935
\pnum
30-
Excluding brushes created using a \tcode{solid_color_brush_factory} object, brushes produce very different composing operation results depending on the values of their mutable state.
36+
Linear gradient and radial gradient brushes share similarities with each other that are not shared by the other types of brushes. This is discussed in more detail below (\ref{gradients}).
3137

3238
\pnum
33-
Brushes created using either a \tcode{linear_brush_factory} object or a \tcode{radial_brush_factory} object are considered to be gradient brushes. They share similarities with each other that are not shared by brushes created using the other brush factories. This is discussed in more detail below (\ref{gradients}).
39+
Surface brushes take an \tcode{image_surface} object and use it as the source of the brush's visual data.
3440

3541
\addtocounter{SectionDepthBase}{1}
3642
\input{gradients}
@@ -39,9 +45,9 @@
3945
\input{brush-type}
4046
\input{color-stop}
4147
\input{brush}
42-
\input{solid-color-brush-factory}
43-
\input{linear-brush-factory}
44-
\input{radial-brush-factory}
45-
%%\input{mesh-brush-factory}
46-
\input{surface-brush-factory}
48+
%\input{solid-color-brush-factory}
49+
%\input{linear-brush-factory}
50+
%\input{radial-brush-factory}
51+
%%%\input{mesh-brush-factory}
52+
%\input{surface-brush-factory}
4753
\addtocounter{SectionDepthBase}{-1}

source/cluster.tex

Lines changed: 0 additions & 77 deletions
This file was deleted.

source/font-extents.tex

Lines changed: 0 additions & 196 deletions
This file was deleted.

source/font-face.tex

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)