Lines Matching defs:paint
49 TessellationCache::Description::Description(Type type, const Matrix4& transform, const SkPaint& paint)
51 , aa(paint.isAntiAlias())
52 , cap(paint.getStrokeCap())
53 , style(paint.getStyle())
54 , strokeWidth(paint.getStrokeWidth()) {
90 void TessellationCache::Description::setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const {
92 paint->setAntiAlias(aa);
93 paint->setStrokeCap(cap);
94 paint->setStyle(style);
95 paint->setStrokeWidth(strokeWidth);
427 SkPaint paint;
428 description.setupMatrixAndPaint(&matrix, &paint);
430 PathTessellator::tessellatePath(path, &paint, matrix, *buffer);
455 const Matrix4& transform, const SkPaint& paint,
457 Description entry(Description::Type::RoundRect, transform, paint);
464 const VertexBuffer* TessellationCache::getRoundRect(const Matrix4& transform, const SkPaint& paint,
466 return getRoundRectBuffer(transform, paint, width, height, rx, ry)->getVertexBuffer();