Lines Matching refs:stroke
87 const SkStrokeRec& stroke) {
116 if (stroke.needToApply()) {
117 SkASSERT(!stroke.isHairlineStyle());
119 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth())));
121 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter())));
122 GrGLenum join = join_to_gl_join(stroke.getJoin());
125 GrGLenum cap = cap_to_gl_cap(stroke.getCap());
133 GrGLPath::GrGLPath(GrGpuGL* gpu, const SkPath& path, const SkStrokeRec& stroke)
134 : INHERITED(gpu, kIsWrapped, path, stroke),
137 InitPathObject(gpu, fPathID, fSkPath, stroke);
139 if (stroke.needToApply()) {
140 // FIXME: try to account for stroking, without rasterizing the stroke.
141 fBounds.outset(stroke.getWidth(), stroke.getWidth());