Lines Matching refs:style
4 * Use of this source code is governed by a BSD-style license that can be
24 * It is possible to apply the style to the GrStyledShape to produce a new GrStyledShape where the
26 * the path effect from the style. In this case the resulting shape will include any remaining
29 * Shapes can produce keys that represent only the geometry information, not the style. Note that
30 * when styling information is applied to produce a new shape then the style has been converted
31 * to geometric information and is included in the new shape's key. When the same style is applied
36 * applying style to the geometry. The idea is to expand this to cover most or all of the geometries
70 GrStyledShape(const SkPath& path, const GrStyle& style,
72 : fShape(path), fStyle(style) {
78 GrStyledShape(const SkRRect& rrect, const GrStyle& style,
80 : fShape(rrect), fStyle(style) {
87 const GrStyle& style, DoSimplify doSimplify = DoSimplify::kYes)
89 , fStyle(style) {
97 GrStyledShape(const SkRect& rect, const GrStyle& style,
99 : fShape(rect), fStyle(style) {
108 SkScalar sweepAngleDegrees, bool useCenter, const GrStyle& style,
126 * may already have been modified if doing so was neutral with respect to its style
133 const GrStyle& style() const { return fStyle; }
135 // True if the shape and/or style were modified into a simpler, equivalent pairing
140 * information from this shape's style to its geometry. Scale is used when approximating the
171 * Returns whether the geometry is empty. Note that applying the style could produce a
214 SkASSERT(!(fShape.inverted() && this->style().isDashed()));
226 if (this->style().hasNonDashPathEffect()) {
278 * Similar to GrShape::simplify but also takes into account style and stroking, possibly
279 * applying the style explicitly to produce a new analytic shape with a simpler style.
289 * Determines the key we should inherit from the input shape's geometry and style when
290 * we are applying the style to create a new shape.