Flutter Engine
The Flutter Engine
Classes | Namespaces | Enumerations | Functions
SkPngEncoder.h File Reference
#include "include/core/SkDataTable.h"
#include "include/core/SkRefCnt.h"
#include "include/private/base/SkAPI.h"
#include "include/encode/SkEncoder.h"
#include <memory>

Go to the source code of this file.

Classes

struct  SkPngEncoder::Options
 

Namespaces

namespace  SkPngEncoder
 

Enumerations

enum class  SkPngEncoder::FilterFlag : int {
  SkPngEncoder::kZero = 0x00 , SkPngEncoder::kNone = 0x08 , SkPngEncoder::kSub = 0x10 , SkPngEncoder::kUp = 0x20 ,
  SkPngEncoder::kAvg = 0x40 , SkPngEncoder::kPaeth = 0x80 , SkPngEncoder::kAll = kNone | kSub | kUp | kAvg | kPaeth
}
 

Functions

FilterFlag SkPngEncoder::operator| (FilterFlag x, FilterFlag y)
 
SK_API bool SkPngEncoder::Encode (SkWStream *dst, const SkPixmap &src, const Options &options)
 
SK_API sk_sp< SkDataSkPngEncoder::Encode (GrDirectContext *ctx, const SkImage *img, const Options &options)
 
SK_API std::unique_ptr< SkEncoderSkPngEncoder::Make (SkWStream *dst, const SkPixmap &src, const Options &options)