Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
skresources::DataURIResourceProviderProxy Class Referencefinal

#include <SkResources.h>

Inheritance diagram for skresources::DataURIResourceProviderProxy:
skresources::ResourceProviderProxyBase skresources::ResourceProvider SkRefCnt SkRefCntBase

Static Public Member Functions

static sk_sp< DataURIResourceProviderProxyMake (sk_sp< ResourceProvider > rp, ImageDecodeStrategy=ImageDecodeStrategy::kLazyDecode, sk_sp< const SkFontMgr > fontMgr=nullptr)
 

Additional Inherited Members

virtual sk_sp< SkDataload (const char[], const char[]) const
 
virtual sk_sp< ImageAssetloadImageAsset (const char[], const char[], const char[]) const
 
virtual sk_sp< ExternalTrackAssetloadAudioAsset (const char[], const char[], const char[])
 
virtual sk_sp< SkDataloadFont (const char[], const char[]) const
 
virtual sk_sp< SkTypefaceloadTypeface (const char[], const char[]) const
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 
- Protected Member Functions inherited from skresources::ResourceProviderProxyBase
 ResourceProviderProxyBase (sk_sp< ResourceProvider >)
 
sk_sp< SkDataload (const char[], const char[]) const override
 
sk_sp< ImageAssetloadImageAsset (const char[], const char[], const char[]) const override
 
sk_sp< SkTypefaceloadTypeface (const char[], const char[]) const override
 
sk_sp< SkDataloadFont (const char[], const char[]) const override
 
sk_sp< ExternalTrackAssetloadAudioAsset (const char[], const char[], const char[]) override
 
- Protected Attributes inherited from skresources::ResourceProviderProxyBase
const sk_sp< ResourceProviderfProxy
 

Detailed Description

Definition at line 263 of file SkResources.h.

Member Function Documentation

◆ Make()

sk_sp< DataURIResourceProviderProxy > skresources::DataURIResourceProviderProxy::Make ( sk_sp< ResourceProvider rp,
ImageDecodeStrategy  strat = ImageDecodeStrategy::kLazyDecode,
sk_sp< const SkFontMgr fontMgr = nullptr 
)
static

Definition at line 272 of file SkResources.cpp.

274 {
276 new DataURIResourceProviderProxy(std::move(rp), strat, std::move(mgr)));
277}

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