Lines Matching +full:cap +full:- +full:std
4 * Use of this source code is governed by a BSD-style license that can be
24 // NOTE: Only represents the stroke or hairline styles; stroke-and-fill must be handled higher up.
31 SkPaint::Cap cap) in StrokeStyle() argument
32 : fHalfWidth(std::max(0.f, 0.5f * width)) in StrokeStyle()
33 , fJoinLimit(join == SkPaint::kMiter_Join ? std::max(0.f, miterLimit) : in StrokeStyle()
34 (join == SkPaint::kBevel_Join ? 0.f : -1.f)) in StrokeStyle()
35 , fCap(cap) {} in StrokeStyle()
47 float miterLimit() const { return std::max(0.f, fJoinLimit); } in miterLimit()
48 SkPaint::Cap cap() const { return fCap; } in cap() function
60 SkPaint::Cap fCap;
103 // are provided to the DrawList to avoid re-calculating the same bounds.
111 // Encapsulates all geometric state for a single high-level draw call. RenderSteps are responsible
124 , fStroke(stroke ? std::optional<StrokeStyle>(*stroke) : std::nullopt) {} in DrawParams()
134 SkASSERT(this->isStroke()); in strokeStyle()
145 std::optional<StrokeStyle> fStroke; // Not present implies fill