/third_party/skia/src/core/ |
H A D | SkRecordDraw.cpp | 84 r.paint, 94 SkCanvasPriv::DrawBehind(fCanvas, r.paint); in draw() 115 DRAW(DrawArc, drawArc(r.oval, r.startAngle, r.sweepAngle, r.useCenter, r.paint)); 116 DRAW(DrawDRRect, drawDRRect(r.outer, r.inner, r.paint)); 117 DRAW(DrawImage, drawImage(r.image.get(), r.left, r.top, r.sampling, r.paint)); 128 fCanvas->drawImageLattice(r.image.get(), lattice, r.dst, r.filter, r.paint); in draw() 131 DRAW(DrawImageRect, drawImageRect(r.image.get(), r.src, r.dst, r.sampling, r.paint, r.constraint)); 132 DRAW(DrawOval, drawOval(r.oval, r.paint)); 133 DRAW(DrawPaint, drawPaint(r.paint)); 134 DRAW(DrawPath, drawPath(r.path, r.paint)); 253 const SkPaint* paint; // Unowned. If set, adjusts the bounds of all ops in this block. global() member 300 pushSaveBlock(const SkPaint* paint) pushSaveBlock() argument 315 PaintMayAffectTransparentBlack(const SkPaint* paint) PaintMayAffectTransparentBlack() argument 507 AdjustForPaint(const SkPaint* paint, SkRect* rect) AdjustForPaint() argument [all...] |
H A D | SkDraw.cpp | 46 SkPaint paint(origPaint); in make_paint_with_image() 47 paint.setShader(SkMakeBitmapShaderForPaint(origPaint, bitmap, SkTileMode::kClamp, in make_paint_with_image() 50 return paint; in make_paint_with_image() 76 void SkDraw::drawPaint(const SkPaint& paint) const { in drawPaint() 86 SkAutoBlitterChoose blitter(*this, nullptr, paint); in drawPaint() 244 bool PtProcRec::init(SkCanvas::PointMode mode, const SkPaint& paint, in init() argument 249 if (paint.getPathEffect() || paint.getMaskFilter()) { in init() 252 SkScalar width = paint.getStrokeWidth(); in init() 257 } else if (paint in init() 341 drawPoints(SkCanvas::PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint, SkBaseDevice* device) const drawPoints() argument 541 compute_stroke_size(const SkPaint& paint, const SkMatrix& matrix) compute_stroke_size() argument 551 easy_rect_join(const SkRect& rect, const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) easy_rect_join() argument 562 ComputeRectType(const SkRect& rect, const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) ComputeRectType() argument 598 draw_rect_as_path(const SkDraw& orig, const SkRect& prePaintRect, const SkPaint& paint, const SkMatrixProvider* matrixProvider) draw_rect_as_path() argument 608 drawRect(const SkRect& prePaintRect, const SkPaint& paint, const SkMatrix* paintMatrix, const SkRect* postPaintRect) const drawRect() argument 808 drawDevPath(const SkPath& devPath, const SkPaint& paint, bool drawCoverage, SkBlitter* customBlitter, bool doFill) const drawDevPath() argument 1254 SkPaint paint; draw_into_mask() local [all...] |
H A D | SkRecorder.cpp | 154 void SkRecorder::onDrawPaint(const SkPaint& paint) { in onDrawPaint() argument 155 this->append<SkRecords::DrawPaint>(paint); in onDrawPaint() 158 void SkRecorder::onDrawBehind(const SkPaint& paint) { in onDrawBehind() argument 159 this->append<SkRecords::DrawBehind>(paint); in onDrawBehind() 165 const SkPaint& paint) { in onDrawPoints() 166 this->append<SkRecords::DrawPoints>(paint, mode, SkToUInt(count), this->copy(pts, count)); in onDrawPoints() 169 void SkRecorder::onDrawRect(const SkRect& rect, const SkPaint& paint) { in onDrawRect() argument 170 TRY_MINIRECORDER(drawRect, rect, paint); in onDrawRect() 171 this->append<SkRecords::DrawRect>(paint, rect); in onDrawRect() 174 void SkRecorder::onDrawRegion(const SkRegion& region, const SkPaint& paint) { in onDrawRegion() argument 162 onDrawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint) onDrawPoints() argument 178 onDrawOval(const SkRect& oval, const SkPaint& paint) onDrawOval() argument 182 onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint& paint) onDrawArc() argument 187 onDrawRRect(const SkRRect& rrect, const SkPaint& paint) onDrawRRect() argument 191 onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) onDrawDRRect() argument 203 onDrawPath(const SkPath& path, const SkPaint& paint) onDrawPath() argument 208 onDrawImage2(const SkImage* image, SkScalar x, SkScalar y, const SkSamplingOptions& sampling, const SkPaint* paint) onDrawImage2() argument 213 onDrawImageRect2(const SkImage* image, const SkRect& src, const SkRect& dst, const SkSamplingOptions& sampling, const SkPaint* paint, SrcRectConstraint constraint) onDrawImageRect2() argument 220 onDrawImageLattice2(const SkImage* image, const Lattice& lattice, const SkRect& dst, SkFilterMode filter, const SkPaint* paint) onDrawImageLattice2() argument 231 onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, const SkPaint& paint) onDrawTextBlob() argument 237 onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) onDrawGlyphRunList() argument 246 onDrawPicture(const SkPicture* pic, const SkMatrix* matrix, const SkPaint* paint) onDrawPicture() argument 251 onDrawVerticesObject(const SkVertices* vertices, SkBlendMode bmode, const SkPaint& paint) onDrawVerticesObject() argument 258 onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode bmode, const SkPaint& paint) onDrawPatch() argument 268 onDrawAtlas2(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions& sampling, const SkRect* cull, const SkPaint* paint) onDrawAtlas2() argument 297 onDrawEdgeAAImageSet2(const ImageSetEntry set[], int count, const SkPoint dstClips[], const SkMatrix preViewMatrices[], const SkSamplingOptions& sampling, const SkPaint* paint, SrcRectConstraint constraint) onDrawEdgeAAImageSet2() argument [all...] |
H A D | SkPaintPriv.cpp | 16 static bool changes_alpha(const SkPaint& paint) { in changes_alpha() argument 17 SkColorFilter* cf = paint.getColorFilter(); in changes_alpha() 21 bool SkPaintPriv::Overwrites(const SkPaint* paint, ShaderOverrideOpacity overrideOpacity) { in Overwrites() argument 22 if (!paint) { in Overwrites() 23 // No paint means we default to SRC_OVER, so we overwrite iff our shader-override in Overwrites() 30 if (!changes_alpha(*paint)) { in Overwrites() 31 const unsigned paintAlpha = paint->getAlpha(); in Overwrites() 33 (!paint->getShader() || paint->getShader()->isOpaque())) in Overwrites() 37 if (overrideOpacity == kNone_ShaderOverrideOpacity && !paint in Overwrites() 70 just_a_color(const SkPaint& paint, SkColor* color) just_a_color() argument 86 ComputeLuminanceColor(const SkPaint& paint) ComputeLuminanceColor() argument [all...] |
/third_party/skia/tools/debugger/ |
H A D | DebugCanvas.cpp | 48 void drawArrow(SkCanvas* canvas, const SkPoint& a, const SkPoint& b, const SkPaint& paint) { in drawArrow() argument 50 canvas->drawLine(a, b, paint); in drawArrow() 56 canvas->drawPath(arrowHead, paint); in drawArrow() 67 bool onFilter(SkPaint& paint) const override { 68 paint.setColor(SK_ColorRED); 69 paint.setAlpha(0x08); 70 paint.setBlendMode(SkBlendMode::kSrcOver); 76 const SkPaint* paint) override { 78 this->SkCanvas::onDrawPicture(picture, matrix, paint); 232 SkPaint paint; in drawTo() local [all...] |
/third_party/skia/bench/ |
H A D | RectBench.cpp | 83 SkPaint paint; variable 85 paint.setStyle(SkPaint::kStroke_Style); 86 paint.setStrokeWidth(SkIntToScalar(fStroke)); 98 paint.setColor(fColors[i % N]); 99 this->setupPaint(&paint); 100 this->drawThisRect(canvas, fRects[i % N], paint); 104 void setupPaint(SkPaint* paint) override { 105 this->INHERITED::setupPaint(paint); 106 paint->setAntiAlias(fAA); 121 void setupPaint(SkPaint* paint) overrid 238 SkPaint paint; global() variable 291 SkPaint paint; global() variable [all...] |
/third_party/skia/samplecode/ |
H A D | SampleFillType.cpp | 31 SkScalar scale, const SkPaint& paint) { in showPath() 43 canvas->drawPath(fPath, paint); in showPath() 47 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { in showFour() argument 49 scale, paint); in showFour() 51 scale, paint); in showFour() 53 scale, paint); in showFour() 55 scale, paint); in showFour() 61 SkPaint paint; variable 64 paint.setAntiAlias(false); 65 paint 30 showPath(SkCanvas* canvas, int x, int y, SkPathFillType ft, SkScalar scale, const SkPaint& paint) showPath() argument [all...] |
H A D | SampleSlides.cpp | 30 static void compose_pe(SkPaint* paint) { in compose_pe() argument 31 SkPathEffect* pe = paint->getPathEffect(); in compose_pe() 39 paint->setPathEffect(compose); in compose_pe() 42 static void hair_pe(SkPaint* paint) { in hair_pe() argument 43 paint->setStrokeWidth(0); in hair_pe() 46 static void hair2_pe(SkPaint* paint) { in hair2_pe() argument 47 paint->setStrokeWidth(0); in hair2_pe() 48 compose_pe(paint); in hair2_pe() 51 static void stroke_pe(SkPaint* paint) { in stroke_pe() argument 52 paint in stroke_pe() 56 dash_pe(SkPaint* paint) dash_pe() argument 73 one_d_pe(SkPaint* paint) one_d_pe() argument 90 fill_pe(SkPaint* paint) fill_pe() argument 95 discrete_pe(SkPaint* paint) discrete_pe() argument 109 tile_pe(SkPaint* paint) tile_pe() argument 116 SkPaint paint; patheffect_slide() local 219 SkPaint paint; gradient_slide() local 363 SkPaint paint; mesh_slide() local [all...] |
H A D | SampleFatBits.cpp | 137 void setupPaint(SkPaint* paint) { in setupPaint() argument 139 paint->setStrokeCap(fStrokeCap); in setupPaint() 142 paint->setStrokeWidth(0); in setupPaint() 145 paint->setStrokeWidth(fStrokeWidth); in setupPaint() 148 paint->setAntiAlias(aa); in setupPaint() 151 void setupSkeletonPaint(SkPaint* paint) { in setupSkeletonPaint() argument 152 paint->setStyle(SkPaint::kStroke_Style); in setupSkeletonPaint() 153 paint->setStrokeWidth(WIRE_FRAME_SIZE); in setupSkeletonPaint() 154 paint->setColor(fShowSkeleton ? WIRE_FRAME_COLOR : 0); in setupSkeletonPaint() 155 paint in setupSkeletonPaint() 161 SkPaint paint; drawRectSkeleton() local 177 SkPaint paint; copyMinToMax() local 191 SkPaint paint; drawBG() local 235 SkPaint paint; drawLineSkeleton() local 258 SkPaint paint; drawLine() local 290 SkPaint paint; drawRect() local 320 SkPaint paint; drawTriangleSkeleton() local 333 SkPaint paint; drawTriangle() local 463 SkPaint paint; global() variable [all...] |
/third_party/skia/gm/ |
H A D | stroke_rect_shader.cpp | 32 SkPaint paint; in DEF_SIMPLE_GM() local 35 paint.setShader(std::move(shader)); in DEF_SIMPLE_GM() 36 paint.setStyle(SkPaint::kStroke_Style); in DEF_SIMPLE_GM() 42 paint.setAntiAlias(aa); in DEF_SIMPLE_GM() 46 paint.setStrokeWidth(kStrokeWidth); in DEF_SIMPLE_GM() 48 paint.setStrokeJoin(SkPaint::kBevel_Join); in DEF_SIMPLE_GM() 49 canvas->drawRect(kRect, paint); in DEF_SIMPLE_GM() 52 paint.setStrokeJoin(SkPaint::kMiter_Join); in DEF_SIMPLE_GM() 53 canvas->drawRect(kRect, paint); in DEF_SIMPLE_GM() 57 paint in DEF_SIMPLE_GM() [all...] |
H A D | blurimagevmask.cpp | 28 SkPaint paint; in DEF_SIMPLE_GM() local 29 paint.setAntiAlias(true); in DEF_SIMPLE_GM() 30 paint.setColor(SK_ColorBLACK); in DEF_SIMPLE_GM() 36 canvas->drawString("mask blur", 285, 50, font, paint); in DEF_SIMPLE_GM() 37 canvas->drawString("image blur", 285 + 250, 50, font, paint); in DEF_SIMPLE_GM() 43 canvas->drawRect(r, paint); in DEF_SIMPLE_GM() 47 canvas->drawString(out, r.left(), r.bottom() + 35, font, paint); in DEF_SIMPLE_GM() 51 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, sigma)); in DEF_SIMPLE_GM() 52 canvas->drawRect(r, paint); in DEF_SIMPLE_GM() 53 paint in DEF_SIMPLE_GM() 74 SkPaint paint; DEF_SIMPLE_GM_CAN_FAIL() local [all...] |
H A D | bug530095.cpp | 22 SkPaint paint; in DEF_SIMPLE_GM() local 23 paint.setAntiAlias(true); in DEF_SIMPLE_GM() 24 paint.setStyle(SkPaint::kStroke_Style); in DEF_SIMPLE_GM() 25 paint.setStrokeWidth(26); in DEF_SIMPLE_GM() 28 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, -40)); in DEF_SIMPLE_GM() 29 canvas->drawPath(path1, paint); in DEF_SIMPLE_GM() 31 paint.setStrokeWidth(0.26f); in DEF_SIMPLE_GM() 34 paint.setPathEffect(SkDashPathEffect::Make(smIntervals, smIntervalCount, -0.40f)); in DEF_SIMPLE_GM() 38 canvas->drawPath(path2, paint); in DEF_SIMPLE_GM() 41 paint in DEF_SIMPLE_GM() [all...] |
H A D | testgradient.cpp | 35 // Set up a gradient paint for a rect. 36 // And non-gradient paint for other objects. 39 SkPaint paint; variable 40 paint.setStyle(SkPaint::kFill_Style); 41 paint.setAntiAlias(true); 42 paint.setStrokeWidth(4); 43 paint.setColor(0xFFFE938C); 52 SkPaint newPaint(paint); 60 paint.setColor(0xFFE6B89C); 61 canvas->drawRRect(oval, paint); [all...] |
H A D | srcmode.cpp | 35 static void identity_paintproc(SkPaint* paint) { in identity_paintproc() argument 36 paint->setShader(nullptr); in identity_paintproc() 39 static void gradient_paintproc(SkPaint* paint) { in gradient_paintproc() argument 42 paint->setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in gradient_paintproc() 48 static void draw_hair(SkCanvas* canvas, const SkPaint& paint, const SkFont&) { in draw_hair() argument 49 SkPaint p(paint); in draw_hair() 54 static void draw_thick(SkCanvas* canvas, const SkPaint& paint, const SkFont&) { in draw_thick() argument 55 SkPaint p(paint); in draw_thick() 60 static void draw_rect(SkCanvas* canvas, const SkPaint& paint, const SkFont&) { in draw_rect() argument 61 canvas->drawRect(SkRect::MakeWH(W, H), paint); in draw_rect() local 64 draw_oval(SkCanvas* canvas, const SkPaint& paint, const SkFont&) draw_oval() argument 65 canvas->drawOval(SkRect::MakeWH(W, H), paint); draw_oval() local 68 draw_text(SkCanvas* canvas, const SkPaint& paint, const SkFont& font) draw_text() argument 84 SkPaint paint; drawContent() local [all...] |
H A D | bitmapfilters.cpp | 40 const SkSamplingOptions& sampling, SkPaint* paint) { in draw_bm() 41 canvas->drawImage(img, x, y, sampling, paint); in draw_bm() 55 SkPaint paint; in draw_row() local 56 paint.setAntiAlias(true); in draw_row() 63 canvas->drawString(name, x, SkIntToScalar(img->height())*scale*5/8, font, paint); in draw_row() 68 x += draw_set(canvas, img, 0, &paint); in draw_row() 69 paint.reset(); in draw_row() 70 paint.setAlphaf(0.5f); in draw_row() 71 draw_set(canvas, img, x, &paint); in draw_row() 129 SkPaint paint; variable 39 draw_bm(SkCanvas* canvas, sk_sp<SkImage> img, SkScalar x, SkScalar y, const SkSamplingOptions& sampling, SkPaint* paint) draw_bm() argument 153 SkPaint paint; global() variable [all...] |
H A D | arcto.cpp | 68 SkPaint paint; in DEF_SIMPLE_GM() local 69 paint.setAntiAlias(true); in DEF_SIMPLE_GM() 70 paint.setStyle(SkPaint::kStroke_Style); in DEF_SIMPLE_GM() 71 paint.setStrokeWidth(2); in DEF_SIMPLE_GM() 72 paint.setColor(0xFF660000); in DEF_SIMPLE_GM() 83 canvas->drawPath(svgArc.detach(), paint); in DEF_SIMPLE_GM() 88 canvas->drawPath(svgArc.detach(), paint); in DEF_SIMPLE_GM() 94 paint.setStrokeWidth(5); in DEF_SIMPLE_GM() 108 paint.setColor(colors[cIndex++]); in DEF_SIMPLE_GM() 109 canvas->drawPath(path, paint); in DEF_SIMPLE_GM() 138 SkPaint paint; DEF_SIMPLE_GM() local 207 SkPaint paint; DEF_SIMPLE_GM() local [all...] |
H A D | fatpathfill.cpp | 28 SkPaint paint; in draw_pixel_centers() local 29 paint.setColor(ToolUtils::color_to_565(0xFF0088FF)); in draw_pixel_centers() 30 paint.setAntiAlias(true); in draw_pixel_centers() 34 canvas->drawCircle(x + 0.5f, y + 0.5f, 1.5f / ZOOM, paint); in draw_pixel_centers() 40 SkPaint paint; in draw_fatpath() local 43 surface->getCanvas()->drawPath(path, paint); in draw_fatpath() 46 paint.setAntiAlias(true); in draw_fatpath() 47 paint.setColor(SK_ColorRED); in draw_fatpath() 48 paint.setStyle(SkPaint::kStroke_Style); in draw_fatpath() 49 canvas->drawPath(path, paint); in draw_fatpath() 61 SkPaint paint; DEF_SIMPLE_GM() local [all...] |
H A D | patharcto.cpp | 22 SkPaint paint; in DEF_SIMPLE_GM() local 23 paint.setStyle(SkPaint::kStroke_Style); in DEF_SIMPLE_GM() 39 canvas->drawPath(path.detach(), paint); in DEF_SIMPLE_GM() 53 SkPaint paint; in DEF_SIMPLE_GM() local 54 paint.setStyle(SkPaint::kStroke_Style); in DEF_SIMPLE_GM() 56 canvas->drawPath(path, paint); in DEF_SIMPLE_GM() 57 canvas->drawPath(path2, paint); in DEF_SIMPLE_GM() 80 SkPaint paint; in DEF_SIMPLE_GM() local 81 paint.setStroke(true); in DEF_SIMPLE_GM() 82 paint in DEF_SIMPLE_GM() [all...] |
H A D | gradtext.cpp | 57 SkPaint paint; variable 62 paint.setColor(SK_ColorRED); 63 canvas->drawRect(r, paint); 66 paint.setShader(make_chrome_solid()); 71 canvas->drawString("I", 0, 100, font, paint); 82 SkPaint paint; variable 86 paint.setStyle(SkPaint::kFill_Style); 87 canvas->drawString("Normal Fill Text", 0, 50, font, paint); 88 paint.setStyle(SkPaint::kStroke_Style); 89 canvas->drawString("Normal Stroke Text", 0, 100, font, paint); [all...] |
/third_party/skia/modules/sksg/src/ |
H A D | SkSGDraw.cpp | 19 Draw::Draw(sk_sp<GeometryNode> geometry, sk_sp<PaintNode> paint) in Draw() argument 21 , fPaint(std::move(paint)) { in Draw() 32 auto paint = fPaint->makePaint(); in onRender() local 34 ctx->modulatePaint(canvas->getTotalMatrix(), &paint); in onRender() 37 const auto skipDraw = paint.nothingToDraw() || in onRender() 38 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender() 41 fGeometry->draw(canvas, paint); in onRender() 46 const auto paint = fPaint->makePaint(); in onNodeAt() local 48 if (!paint in onNodeAt() 70 const auto paint = fPaint->makePaint(); onRevalidate() local [all...] |
/third_party/skia/docs/examples/ |
H A D | mapradius.cpp | 6 SkPaint paint; in REG_FIDDLE() local 7 paint.setAntiAlias(true); in REG_FIDDLE() 8 paint.setStyle(SkPaint::kStroke_Style); in REG_FIDDLE() 18 paint.setColor(SK_ColorRED); in REG_FIDDLE() 19 canvas->drawLine(40, 240, 40 + minorAxis.length(), 240, paint); in REG_FIDDLE() 21 240, paint); in REG_FIDDLE() 22 paint.setColor(SK_ColorBLACK); in REG_FIDDLE() 23 canvas->drawLine(center.fX, center.fY, center.fX + mappedRadius, center.fY, paint); in REG_FIDDLE() 24 canvas->drawLine(center.fX, center.fY, center.fX, center.fY + mappedRadius, paint); in REG_FIDDLE() 25 canvas->drawLine(40, 220, 40 + mappedRadius, 220, paint); in REG_FIDDLE() [all...] |
H A D | Miter_Limit.cpp | 18 SkPaint paint; // set to default kMiter_Join in REG_FIDDLE() local 19 paint.setAntiAlias(true); in REG_FIDDLE() 20 paint.setStyle(SkPaint::kStroke_Style); in REG_FIDDLE() 21 paint.setStrokeMiter(miterLimit); in REG_FIDDLE() 22 paint.setStrokeWidth(strokeWidth); in REG_FIDDLE() 23 canvas->drawPath(path, paint); in REG_FIDDLE() 24 paint.setStrokeWidth(1); in REG_FIDDLE() 26 pts[1].fX + miterLength / 2, pts[1].fY + 50, paint); in REG_FIDDLE() 29 paint.setStrokeMiter(miterLimit); in REG_FIDDLE() 30 paint in REG_FIDDLE() [all...] |
H A D | Fake_Bold.cpp | 8 SkPaint paint; in REG_FIDDLE() local 9 paint.setAntiAlias(true); in REG_FIDDLE() 10 paint.setTextSize(40); in REG_FIDDLE() 11 canvas->drawString("OjYy_-", 10, 35, paint); in REG_FIDDLE() 12 paint.setFakeBoldText(true); in REG_FIDDLE() 13 canvas->drawString("OjYy_-", 10, 75, paint); in REG_FIDDLE() 15 paint.setFakeBoldText(false); in REG_FIDDLE() 16 paint.setStyle(SkPaint::kStrokeAndFill_Style); in REG_FIDDLE() 17 paint.setStrokeWidth(40.f / 48); in REG_FIDDLE() 18 canvas->drawString("OjYy_-", 10, 115, paint); in REG_FIDDLE() [all...] |
/third_party/skia/tests/ |
H A D | DrawPathTest.cpp | 47 SkPaint paint; in test_big_aa_rect() local 48 paint.setAntiAlias(true); in test_big_aa_rect() 49 paint.setColor(SK_ColorWHITE); in test_big_aa_rect() 51 canvas->drawRect(r, paint); in test_big_aa_rect() 111 SkPaint paint; in test_crbug131181() local 112 paint.setAntiAlias(true); in test_crbug131181() 113 surface->getCanvas()->drawPath(path, paint); in test_crbug131181() 124 SkPaint paint; in test_crbug_140803() local 125 paint.setAntiAlias(true); in test_crbug_140803() 126 canvas.drawPath(SkPath().moveTo(2762, 20).quadTo(11, 21702, 10, 21706), paint); in test_crbug_140803() 157 SkPaint paint; test_crbug_1239558() local 189 SkPaint paint; test_inversepathwithclip() local 227 SkPaint paint; test_bug533() local 269 SkPaint paint; test_bigcubic() local 278 SkPaint paint; test_halfway() local 323 SkPaint paint; test_giantaa() local 343 SkPaint paint; test_infinite_dash() local 362 SkPaint paint; test_crbug_165432() local [all...] |
/third_party/skia/tools/ |
H A D | MSKPPlayer.cpp | 109 const SkPaint* paint = fPaint.isValid() ? fPaint.get() : nullptr; in draw() local 114 paint, in draw() 132 void onDrawPaint(const SkPaint& paint) override { 133 fRecorder.getRecordingCanvas()->drawPaint(paint); variable 136 void onDrawBehind(const SkPaint& paint) override { 137 SkCanvasPriv::DrawBehind(fRecorder.getRecordingCanvas(), paint); 140 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { 141 fRecorder.getRecordingCanvas()->drawRect(rect, paint); 144 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override { 145 fRecorder.getRecordingCanvas()->drawRRect(rrect, paint); [all...] |