Skia
2D Graphics Library
sksg::RenderNode::ScopedRenderContext Class Referencefinal

#include <SkSGRenderNode.h>

Public Member Functions

 ScopedRenderContext (SkCanvas *, const RenderContext *)
 
 ~ScopedRenderContext ()
 
 ScopedRenderContext (ScopedRenderContext &&that)
 
ScopedRenderContextoperator= (ScopedRenderContext &&that)
 
 operator const RenderContext * () const
 
const RenderContextoperator-> () const
 
ScopedRenderContext && modulateOpacity (float opacity)
 
ScopedRenderContext && modulateColorFilter (sk_sp< SkColorFilter >)
 
ScopedRenderContext && modulateShader (sk_sp< SkShader >, const SkMatrix &shader_ctm)
 
ScopedRenderContext && modulateMaskShader (sk_sp< SkShader >, const SkMatrix &ms_ctm)
 
ScopedRenderContext && modulateBlender (sk_sp< SkBlender >)
 
ScopedRenderContext && setIsolation (const SkRect &bounds, const SkMatrix &ctm, bool do_isolate)
 
ScopedRenderContext && setFilterIsolation (const SkRect &bounds, const SkMatrix &ctm, sk_sp< SkImageFilter >)
 

Constructor & Destructor Documentation

◆ ScopedRenderContext() [1/2]

sksg::RenderNode::ScopedRenderContext::ScopedRenderContext ( SkCanvas ,
const RenderContext  
)

◆ ~ScopedRenderContext()

sksg::RenderNode::ScopedRenderContext::~ScopedRenderContext ( )

◆ ScopedRenderContext() [2/2]

sksg::RenderNode::ScopedRenderContext::ScopedRenderContext ( ScopedRenderContext &&  that)
inline

Member Function Documentation

◆ modulateBlender()

ScopedRenderContext&& sksg::RenderNode::ScopedRenderContext::modulateBlender ( sk_sp< SkBlender )

◆ modulateColorFilter()

ScopedRenderContext&& sksg::RenderNode::ScopedRenderContext::modulateColorFilter ( sk_sp< SkColorFilter )

◆ modulateMaskShader()

ScopedRenderContext&& sksg::RenderNode::ScopedRenderContext::modulateMaskShader ( sk_sp< SkShader ,
const SkMatrix ms_ctm 
)

◆ modulateOpacity()

ScopedRenderContext&& sksg::RenderNode::ScopedRenderContext::modulateOpacity ( float  opacity)

◆ modulateShader()

ScopedRenderContext&& sksg::RenderNode::ScopedRenderContext::modulateShader ( sk_sp< SkShader ,
const SkMatrix shader_ctm 
)

◆ operator const RenderContext *()

sksg::RenderNode::ScopedRenderContext::operator const RenderContext * ( ) const
inline

◆ operator->()

const RenderContext* sksg::RenderNode::ScopedRenderContext::operator-> ( ) const
inline

◆ operator=()

ScopedRenderContext& sksg::RenderNode::ScopedRenderContext::operator= ( ScopedRenderContext &&  that)
inline

◆ setFilterIsolation()

ScopedRenderContext&& sksg::RenderNode::ScopedRenderContext::setFilterIsolation ( const SkRect bounds,
const SkMatrix ctm,
sk_sp< SkImageFilter  
)

◆ setIsolation()

ScopedRenderContext&& sksg::RenderNode::ScopedRenderContext::setIsolation ( const SkRect bounds,
const SkMatrix ctm,
bool  do_isolate 
)

The documentation for this class was generated from the following file: