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
pdf
SkDocument_PDF_None.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2015 Google Inc.
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
#include "
include/core/SkCanvas.h
"
9
#include "
include/core/SkData.h
"
10
#include "
include/docs/SkPDFDocument.h
"
11
12
class
SkPDFArray
{};
13
14
sk_sp<SkDocument>
SkPDF::MakeDocument
(
SkWStream
*,
const
SkPDF::Metadata
&) {
return
nullptr
; }
15
16
void
SkPDF::SetNodeId
(
SkCanvas
* c,
int
n) {
17
c->
drawAnnotation
({0, 0, 0, 0},
"PDF_Node_Key"
,
SkData::MakeWithCopy
(&n,
sizeof
(n)).
get
());
18
}
19
20
SkPDF::AttributeList::AttributeList
() =
default
;
21
22
SkPDF::AttributeList::~AttributeList
() =
default
;
SkCanvas.h
SkData.h
SkPDFDocument.h
SkCanvas
Definition:
SkCanvas.h:106
SkCanvas::drawAnnotation
void drawAnnotation(const SkRect &rect, const char key[], SkData *value)
Definition:
SkCanvas.cpp:1824
SkData::MakeWithCopy
static sk_sp< SkData > MakeWithCopy(const void *data, size_t length)
Definition:
SkData.cpp:111
SkPDFArray
Definition:
SkDocument_PDF_None.cpp:12
SkPDF::AttributeList::~AttributeList
~AttributeList()
SkPDF::AttributeList::AttributeList
AttributeList()
SkWStream
Definition:
SkStream.h:218
sk_sp
Definition:
SkRefCnt.h:220
sk_sp::get
T * get() const
Definition:
SkRefCnt.h:303
SkPDF::MakeDocument
SK_API sk_sp< SkDocument > MakeDocument(SkWStream *stream, const Metadata &metadata)
Definition:
SkDocument_PDF_None.cpp:14
SkPDF::SetNodeId
SK_API void SetNodeId(SkCanvas *dst, int nodeID)
Definition:
SkDocument_PDF_None.cpp:16
SkPDF::Metadata
Definition:
SkPDFDocument.h:85
Generated on Sun Jun 23 2024 21:56:30 for Flutter Engine by
1.9.4