Flutter Engine
The Flutter Engine
|
#include "include/core/SkData.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkString.h"
#include <memory>
#include <string>
Go to the source code of this file.
Functions | |
SkString | GetResourcePath (const char *resource="") |
void | SetResourcePath (const char *) |
sk_sp< SkData > | GetResourceAsData (const char *resource) |
sk_sp< SkData > | GetResourceAsData (const std::string &resource) |
std::unique_ptr< SkStreamAsset > | GetResourceAsStream (const char *resource, bool useFileStream=false) |
Definition at line 42 of file Resources.cpp.
Definition at line 26 of file Resources.h.
std::unique_ptr< SkStreamAsset > GetResourceAsStream | ( | const char * | resource, |
bool | useFileStream = false |
||
) |
Definition at line 31 of file Resources.cpp.
SkString GetResourcePath | ( | const char * | resource = "" | ) |
Definition at line 23 of file Resources.cpp.
void SetResourcePath | ( | const char * | resource | ) |
Definition at line 27 of file Resources.cpp.