Lines Matching defs:that

4  * Use of this source code is governed by a BSD-style license that can be
14 GrStyledShape& GrStyledShape::operator=(const GrStyledShape& that) {
15 fShape = that.fShape;
16 fStyle = that.fStyle;
17 fGenID = that.fGenID;
18 fSimplified = that.fSimplified;
20 fInheritedKey.reset(that.fInheritedKey.count());
21 sk_careful_memcpy(fInheritedKey.get(), that.fInheritedKey.get(),
23 if (that.fInheritedPathForListeners.isValid()) {
24 fInheritedPathForListeners.set(*that.fInheritedPathForListeners);
64 // closing an open rect that wasn't closed in the original shape because it had
73 // Verify that lines/points were converted to empty by the style change
76 // We don't copy the inherited key since it can contain path effect information that we just
119 // pad out to uint32_t alignment using value that will stand out when debugging.
186 // shape type keys. Make sure that they are the defaults for other shapes so it doesn't
187 // matter that we universally include them in the flag key value.
199 // Ensure that the path's inversion matches our state so that the path's key suffices.
271 // The style doesn't allow a key, set the path gen ID to 0 so that we fail when
318 GrStyledShape::GrStyledShape(const GrStyledShape& that)
319 : fShape(that.fShape)
320 , fStyle(that.fStyle)
321 , fGenID(that.fGenID)
322 , fSimplified(that.fSimplified) {
323 fInheritedKey.reset(that.fInheritedKey.count());
324 sk_careful_memcpy(fInheritedKey.get(), that.fInheritedKey.get(),
326 if (that.fInheritedPathForListeners.isValid()) {
327 fInheritedPathForListeners.set(*that.fInheritedPathForListeners);
332 // TODO: Add some quantization of scale for better cache performance here or leave that up
347 // Start out as an empty path that is filled in by the applied style
372 // the path effect then attemptToReduceFromPath would catch it. This means that
374 // parent shape that would be used to determine the the stroked path's key.
375 // We detect that case here and change parentForKey to a temporary that represents
376 // the simpler shape so that applying both path effect and the strokerec all at
385 // The parent shape may have simplified away the strokeRec, check for that here.
437 // for the automatic sorting of edges that SkRRect::MakeRect() performs.
590 // Everything but arcs with caps that might extend beyond the oval edge can ignore winding
647 // There's no dashing to worry about if we got here, so it's okay that this resets
708 // A point or line that was formed by a degenerate closed shape needs its style updated to
709 // reflect the fact that it doesn't actually produce caps.
718 // If this were a closed line, the 180 degree turn either is a miter join that exceeds
722 // it fits this closed line description (it is not two 90 degree turns that could