@@ -204,18 +204,21 @@ class InProgressStroke {
204204 // specified coat of paint.
205205 const Envelope& GetMeshBounds (uint32_t coat_index) const ;
206206
207- // Returns one or more spans of vertex indices, one for each of the stroke
208- // outlines for the specified coat of paint.
207+ // Returns zero or more non-empty spans of vertex indices, one for each of the
208+ // stroke outlines for the specified coat of paint. There will be at least one
209+ // outline for each brush tip if the stroke is non-empty. Stroke coats with
210+ // discontinuous geometry will always have multiple outlines, but even a coat
211+ // with continuous geometry may be drawn with multiple overlapping outlines
212+ // when this improves rendering quality or performance.
209213 //
210214 // Every returned index value can be used to get an outline position from the
211215 // `MutableMesh` returned by `GetMesh()`.
212216 //
213- // For each non-empty span of indices, the first and last elements reference
214- // vertices at the end of the stroke. The indices traverse the mesh such that
215- // the outline has a negative winding number when viewed from the positive
216- // z-axis. I.e. the outline positions would be appear in clockwise order if
217- // the y-axis points up, and in counter-clockwise order if the y-axis points
218- // down.
217+ // The first and last elements in each span reference the vertices at the end
218+ // of the stroke outline. The indices traverse the mesh such that the outline
219+ // has a negative winding number when viewed from the positive z-axis. That
220+ // is, the outline positions are in clockwise order if the y-axis points up,
221+ // counter-clockwise order if the y-axis points down.
219222 absl::Span<const absl::Span<const uint32_t >> GetIndexOutlines (
220223 uint32_t coat_index) const ;
221224
0 commit comments