Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
skia
src
image
SkPictureImageGenerator.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 SkPictureImageGenerator_DEFINED
9
#define SkPictureImageGenerator_DEFINED
10
11
#include "
include/core/SkImageGenerator.h
"
12
#include "
include/core/SkMatrix.h
"
13
#include "
include/core/SkPaint.h
"
14
#include "
include/core/SkPicture.h
"
15
#include "
include/core/SkRefCnt.h
"
16
#include "
include/core/SkSurfaceProps.h
"
17
#include "
src/base/SkTLazy.h
"
18
19
#include <cstddef>
20
21
struct
SkImageInfo
;
22
23
class
SkPictureImageGenerator
:
public
SkImageGenerator
{
24
public
:
25
SkPictureImageGenerator
(
const
SkImageInfo
&,
sk_sp<SkPicture>
,
const
SkMatrix
*,
26
const
SkPaint
*,
const
SkSurfaceProps
&);
27
28
protected
:
29
bool
onGetPixels
(
const
SkImageInfo
&,
void
* pixels,
size_t
rowBytes,
const
Options
&)
override
;
30
31
private
:
32
sk_sp<SkPicture>
fPicture;
33
SkMatrix
fMatrix;
34
SkTLazy<SkPaint>
fPaint;
35
const
SkSurfaceProps
fProps;
36
37
friend
class
SkImage_Picture
;
38
};
39
40
#endif
SkImageGenerator.h
SkMatrix.h
SkPaint.h
SkPicture.h
SkRefCnt.h
SkSurfaceProps.h
SkTLazy.h
SkImageGenerator
Definition:
SkImageGenerator.h:28
SkImage_Picture
Definition:
SkImage_Picture.h:28
SkMatrix
Definition:
SkMatrix.h:54
SkPaint
Definition:
SkPaint.h:44
SkPictureImageGenerator
Definition:
SkPictureImageGenerator.h:23
SkPictureImageGenerator::onGetPixels
bool onGetPixels(const SkImageInfo &, void *pixels, size_t rowBytes, const Options &) override
Definition:
SkPictureImageGenerator.cpp:81
SkPictureImageGenerator::SkPictureImageGenerator
SkPictureImageGenerator(const SkImageInfo &, sk_sp< SkPicture >, const SkMatrix *, const SkPaint *, const SkSurfaceProps &)
Definition:
SkPictureImageGenerator.cpp:63
SkSurfaceProps
Definition:
SkSurfaceProps.h:53
SkTLazy< SkPaint >
sk_sp< SkPicture >
SkImageGenerator::Options
Definition:
SkImageGenerator.h:129
SkImageInfo
Definition:
SkImageInfo.h:208
Generated on Sun Jun 23 2024 21:56:29 for Flutter Engine by
1.9.4