Lines Matching refs:style
4 * Use of this source code is governed by a BSD-style license that can be
1154 const GrStyle& style,
1156 SkASSERT(CanDrawDashLine(pts, style, viewMatrix));
1157 const SkScalar* intervals = style.dashIntervals();
1158 SkScalar phase = style.dashPhase();
1160 SkPaint::Cap cap = style.strokeRec().getCap();
1163 lineData.fSrcStrokeWidth = style.strokeRec().getWidth();
1209 bool CanDrawDashLine(const SkPoint pts[2], const GrStyle& style, const SkMatrix& viewMatrix) {
1221 if (!style.isDashed() || 2 != style.dashIntervalCnt()) {
1225 const SkScalar* intervals = style.dashIntervals();
1230 SkPaint::Cap cap = style.strokeRec().getCap();
1238 if (style.strokeRec().getWidth() > intervals[1]) {
1320 GrStyle style(p);
1323 style, GrGetRandomStencil(random, context));