Home
last modified time | relevance | path

Searched refs:setAlphaf (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/docs/examples/
DCanvas_saveLayer_4.cpp15 pThirtyBlue.setAlphaf(0.3); in draw()
18 alpha.setAlphaf(0.3); in draw()
/third_party/skia/gm/
Dbeziers.cpp40 paint->setAlphaf(1.0f); in rnd_quad()
63 paint->setAlphaf(1.0f); in rnd_cubic()
Drsxtext.cpp78 p.setAlphaf(0.75f); in draw_one()
81 p.setAlphaf(1); in draw_one()
Dimageblurrepeatmode.cpp46 paint.setAlphaf(0.5f); in make_image()
56 paint.setAlphaf(0.5f); in make_image()
Dshapes.cpp110 paint.setAlphaf(0.5f); // Use alpha to detect double blends. in drawShapes()
175 paint.setAlphaf(0.5f); // Use alpha to detect double blends. in drawShapes()
Dmixedtextblobs.cpp37 paint.setAlphaf(0.125f); in draw_blob()
40 paint.setAlphaf(1.0f); in draw_blob()
Dcoloremoji.cpp140 shaderPaint.setAlphaf(0.5f); in onDraw()
187 paint.setAlphaf(1.0f); in onDraw()
Dsavelayer.cpp145 p.setAlphaf(0.25f); in draw_cell()
197 paint.setAlphaf(1.0f/n);
Dstrokes.cpp47 paint->setAlphaf(1.0f); in rnd_rect()
134 fillPaint.setAlphaf(1.0f); in onDraw()
135 strokePaint.setAlphaf(1.0f); in onDraw()
153 strokePaint.setAlphaf(0.5f); in onDraw()
159 fillPaint.setAlphaf(0.5f); in onDraw()
Dtinybitmap.cpp31 paint.setAlphaf(0.5f); in onDraw()
Dpictureimagegenerator.cpp169 p.setAlphaf(configs[i].opacity); in onDraw()
193 p.setAlphaf(1.0f); in onDraw()
Dbatchedconvexpaths.cpp48 paint.setAlphaf(0.3f); in onDraw()
Dbackdrop_imagefilter_croprect.cpp116 p.setAlphaf(0.5f);
Dpicture.cpp79 paint.setAlphaf(0.5f); in onDraw()
Dshadertext3.cpp85 bmpPaint.setAlphaf(0.5f); in onDraw()
Dpostercircle.cpp132 fillPaint.setAlphaf(0.7f); in onDraw()
Dbitmapfilters.cpp70 paint.setAlphaf(0.5f); in draw_row()
/third_party/skia/samplecode/
DSampleTiming.cpp61 p.setAlphaf( (cost[y][x] - min) / (max - min) ); in onDrawContent()
90 p.setAlphaf( (cost[y][x] - min) / (max - min) ); in onDrawContent()
/third_party/skia/include/core/
DSkPaint.h268 void setAlphaf(float a);
272 this->setAlphaf(a * (1.0f / 255)); in setAlpha()
/third_party/skia/experimental/sktext/editor/
DSelection.h25 fBackground.setAlphaf(0.3f); in Selection()
/third_party/skia/experimental/skrive/src/
DComponent.cpp72 layer_paint.setAlphaf(node->getOpacity()); in ScopedTransformContext()
/third_party/skia/src/core/
DSkPaintPriv.cpp102 p->setAlphaf(1.0f); in RemoveColorFilter()
/third_party/skia/modules/canvaskit/tests/
Dcanvas.spec.js415 thirtyBluePaint.setAlphaf(0.3);
418 alpha.setAlphaf(0.3);
476 thirtyBluePaint.setAlphaf(0.3);
479 alpha.setAlphaf(0.3);
/third_party/skia/bench/
DBlendmodeBench.cpp87 paint.setAlphaf(1.0f); in onDraw()
/third_party/skia/modules/svg/src/
DSkSVGRenderContext.cpp322 opacityPaint.setAlphaf(SkTPin(opacity, 0.0f, 1.0f)); in applyOpacity()
461 p->setAlphaf(SkTPin(p->getAlphaf() * paint_opacity * fDeferredPaintOpacity, 0.0f, 1.0f)); in commonPaint()

12