Home
last modified time | relevance | path

Searched refs:bmpPaint (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/gm/
Dshadertext3.cpp83 SkPaint bmpPaint; in onDraw() local
84 bmpPaint.setAntiAlias(true); in onDraw()
85 bmpPaint.setAlphaf(0.5f); in onDraw()
88 canvas->drawImage(fBmp.asImage(), 5.f, 5.f, sampling, &bmpPaint); in onDraw()
Dbmpfilterqualityrepeat.cpp70 SkPaint bmpPaint(textPaint); in drawAll() local
88 bmpPaint.setShader(fBmp.makeShader(kTM, kTM, rec.sampling, lm)); in drawAll()
89 canvas->drawRect(rect, bmpPaint); in drawAll()
Dxfermodes3.cpp192 SkPaint bmpPaint; in onOnceBeforeDraw() local
197 bmpPaint.setShader(SkGradientShader::MakeRadial(kCenter, 3 * SkIntToScalar(kSize) / 4, in onOnceBeforeDraw()
208 bmpCanvas.drawRect(rect, bmpPaint); in onOnceBeforeDraw()
/third_party/skia/samplecode/
DSampleAARects.cpp51 SkPaint bmpPaint; in onDrawContent() local
52 bmpPaint.setShader(fBitmap.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDrawContent()
55 bmpPaint.setStrokeWidth(3); in onDrawContent()
57 SkPaint paints[] = { bluePaint, bmpPaint }; in onDrawContent()