Home
last modified time | relevance | path

Searched refs:fOpacity (Results 1 – 20 of 20) sorted by relevance

/external/skia/modules/sksg/src/
DSkSGOpacityEffect.cpp14 , fOpacity(opacity) {} in OpacityEffect()
18 if (fOpacity <= 0) in onRender()
21 const auto local_context = ScopedRenderContext(canvas, ctx).modulateOpacity(fOpacity); in onRender()
27 return (fOpacity > 0) ? this->INHERITED::onNodeAt(p) : nullptr; in onNodeAt()
34 return fOpacity > 0 ? this->INHERITED::onRevalidate(ic, ctm) : SkRect::MakeEmpty(); in onRevalidate()
DSkSGRenderNode.cpp31 alpha = SkToU8(sk_float_round2int(initial_alpha * fOpacity)); in modulatePaint()
58 fCtx.fOpacity *= opacity; in modulateOpacity()
DSkSGPaintNode.cpp31 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
/external/skqp/modules/sksg/src/
DSkSGOpacityEffect.cpp14 , fOpacity(opacity) {} in OpacityEffect()
18 if (fOpacity <= 0) in onRender()
21 const auto local_context = ScopedRenderContext(canvas, ctx).modulateOpacity(fOpacity); in onRender()
30 return fOpacity > 0 ? this->INHERITED::onRevalidate(ic, ctm) : SkRect::MakeEmpty(); in onRevalidate()
DSkSGRenderNode.cpp24 alpha = SkToU8(sk_float_round2int(initial_alpha * fOpacity)); in modulatePaint()
50 fCtx.fOpacity *= opacity; in modulateOpacity()
DSkSGPaintNode.cpp31 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
/external/skqp/modules/sksg/include/
DSkSGOpacityEffect.h25 SG_ATTRIBUTE(Opacity, float, fOpacity)
35 float fOpacity;
DSkSGPaintNode.h28 SG_ATTRIBUTE(Opacity , SkScalar , fOpacity )
44 SkScalar fOpacity = 1,
DSkSGRenderNode.h41 float fOpacity = 1; member
/external/skia/modules/sksg/include/
DSkSGOpacityEffect.h25 SG_ATTRIBUTE(Opacity, float, fOpacity)
36 float fOpacity;
DSkSGPaintNode.h28 SG_ATTRIBUTE(Opacity , SkScalar , fOpacity )
44 SkScalar fOpacity = 1,
DSkSGRenderNode.h48 float fOpacity = 1; member
/external/skqp/experimental/svg/model/
DSkSVGAttribute.h84 SkTLazy<SkSVGNumberType> fOpacity; member
DSkSVGNode.cpp85 fPresentationAttributes.fOpacity.set( in setOpacity()
DSkSVGRenderContext.cpp355 if (auto* opacity = attrs.fOpacity.getMaybeNull()) { in applyPresentationAttributes()
/external/skia/experimental/svg/model/
DSkSVGAttribute.h84 SkTLazy<SkSVGNumberType> fOpacity; member
DSkSVGNode.cpp85 fPresentationAttributes.fOpacity.set( in setOpacity()
DSkSVGRenderContext.cpp355 if (auto* opacity = attrs.fOpacity.getMaybeNull()) { in applyPresentationAttributes()
/external/pdfium/core/fpdfdoc/
Dcpvt_generateap.cpp473 float fOpacity = in GenerateExtGStateDict() local
475 pGSDict->SetNewFor<CPDF_Number>("CA", fOpacity); in GenerateExtGStateDict()
476 pGSDict->SetNewFor<CPDF_Number>("ca", fOpacity); in GenerateExtGStateDict()
/external/skia/modules/skottie/src/
DSkottieAdapter.cpp276 fDropShadow->setColor(SkColorSetA(fColor, SkTPin(SkScalarRoundToInt(fOpacity), 0, 255))); in apply()