Lines Matching defs:paint
101 PaintInfo(const SkPaint* paint, const mat4& transform) :
102 style(paint->getStyle()), cap(paint->getStrokeCap()), isAA(paint->isAntiAlias()),
103 halfStrokeWidth(paint->getStrokeWidth() * 0.5f), maxAlpha(1.0f) {
723 void PathTessellator::tessellatePath(const SkPath &path, const SkPaint* paint,
727 const PaintInfo paintInfo(paint, transform);
737 threshInvScaleX *= bounds.width() / (bounds.width() + paint->getStrokeWidth());
738 threshInvScaleY *= bounds.height() / (bounds.height() + paint->getStrokeWidth());
808 void PathTessellator::tessellatePoints(const float* points, int count, const SkPaint* paint,
810 const PaintInfo paintInfo(paint, transform);
849 void PathTessellator::tessellateLines(const float* points, int count, const SkPaint* paint,
852 const PaintInfo paintInfo(paint, transform);