Flutter Engine
The Flutter Engine
flow
paint_region.cc
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "flutter/flow/paint_region.h"
6
7
namespace
flutter
{
8
9
SkRect
PaintRegion::ComputeBounds
()
const
{
10
SkRect
res =
SkRect::MakeEmpty
();
11
for
(
const
auto
& r : *
this
) {
12
res.
join
(r);
13
}
14
return
res;
15
}
16
17
}
// namespace flutter
flutter::PaintRegion::ComputeBounds
SkRect ComputeBounds() const
Definition:
paint_region.cc:9
flutter
Definition:
asset_manager.cc:10
SkRect
Definition:
extension.cpp:13
SkRect::MakeEmpty
static constexpr SkRect MakeEmpty()
Definition:
SkRect.h:595
SkRect::join
void join(const SkRect &r)
Definition:
SkRect.cpp:126
Generated on Sun Jun 23 2024 21:54:57 for Flutter Engine by
1.9.4