Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
src
encode
SkPngEncoderImpl.h
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Google LLC
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkPngEncoderImpl_DEFINED
9
#define SkPngEncoderImpl_DEFINED
10
11
#include "
include/encode/SkEncoder.h
"
12
13
#include <memory>
14
15
class
SkPixmap
;
16
class
SkPngEncoderMgr
;
17
18
class
SkPngEncoderImpl
:
public
SkEncoder
{
19
public
:
20
// public so it can be called from SkPngEncoder namespace. It should only be made
21
// via SkPngEncoder::Make
22
SkPngEncoderImpl
(std::unique_ptr<SkPngEncoderMgr>,
const
SkPixmap
& src);
23
~SkPngEncoderImpl
()
override
;
24
25
protected
:
26
bool
onEncodeRows
(
int
numRows)
override
;
27
std::unique_ptr<SkPngEncoderMgr>
fEncoderMgr
;
28
};
29
#endif
SkEncoder.h
SkEncoder
Definition
SkEncoder.h:19
SkPixmap
Definition
SkPixmap.h:40
SkPngEncoderImpl
Definition
SkPngEncoderImpl.h:18
SkPngEncoderImpl::fEncoderMgr
std::unique_ptr< SkPngEncoderMgr > fEncoderMgr
Definition
SkPngEncoderImpl.h:27
SkPngEncoderImpl::onEncodeRows
bool onEncodeRows(int numRows) override
Definition
SkPngEncoderImpl.cpp:443
SkPngEncoderImpl::~SkPngEncoderImpl
~SkPngEncoderImpl() override
Definition
SkPngEncoderImpl.cpp:441
SkPngEncoderMgr
Definition
SkPngEncoderImpl.cpp:72
Generated on Fri Apr 26 2024 06:16:54 for Flutter Engine by
1.9.8