Flutter Engine
The Flutter Engine
Namespaces | Functions
DecodeUtils.h File Reference
#include "include/core/SkImage.h"
#include "include/core/SkRefCnt.h"
#include "tools/Resources.h"

Go to the source code of this file.

Namespaces

namespace  ToolUtils
 

Functions

bool ToolUtils::DecodeDataToBitmap (sk_sp< SkData > data, SkBitmap *dst)
 
bool ToolUtils::GetResourceAsBitmap (const char *resource, SkBitmap *dst)
 
sk_sp< SkImageToolUtils::GetResourceAsImage (const char *resource)