Flutter Engine
The Flutter Engine
third_party
skia
src
core
SkBBHFactory.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2014 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/SkBBHFactory.h
"
9
10
#include "
include/core/SkRect.h
"
11
#include "
src/core/SkRTree.h
"
12
13
sk_sp<SkBBoxHierarchy>
SkRTreeFactory::operator()
()
const
{
14
return
sk_make_sp<SkRTree>();
15
}
16
17
void
SkBBoxHierarchy::insert
(
const
SkRect
rects[],
const
Metadata
[],
int
N
) {
18
// Ignore Metadata.
19
this->
insert
(rects,
N
);
20
}
SkBBHFactory.h
SkRTree.h
SkRect.h
N
#define N
Definition:
beziers.cpp:19
SkBBoxHierarchy::insert
virtual void insert(const SkRect[], int N)=0
SkRTreeFactory::operator()
sk_sp< SkBBoxHierarchy > operator()() const override
Definition:
SkBBHFactory.cpp:13
sk_sp< SkBBoxHierarchy >
SkBBoxHierarchy::Metadata
Definition:
SkBBHFactory.h:22
SkRect
Definition:
extension.cpp:13
Generated on Sun Jun 23 2024 21:56:10 for Flutter Engine by
1.9.4