Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
dl_text.h
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
#ifndef FLUTTER_DISPLAY_LIST_DL_TEXT_H_
6
#define FLUTTER_DISPLAY_LIST_DL_TEXT_H_
7
8
#include <memory>
9
10
#include "
flutter/display_list/geometry/dl_geometry_types.h
"
11
12
namespace
impeller
{
13
class
TextFrame;
14
}
15
16
class
SkTextBlob;
17
18
namespace
flutter
{
19
class
DlText
{
20
public
:
21
virtual
DlRect
GetBounds
()
const
= 0;
22
virtual
std::shared_ptr<impeller::TextFrame>
GetTextFrame
()
const
= 0;
23
virtual
const
SkTextBlob*
GetTextBlob
()
const
= 0;
24
25
bool
operator==
(
const
DlText
& other)
const
;
26
27
protected
:
28
DlText
() =
default
;
29
virtual
~DlText
() =
default
;
30
31
private
:
32
FML_DISALLOW_COPY_AND_ASSIGN
(
DlText
);
33
};
34
}
// namespace flutter
35
36
#endif
// FLUTTER_DISPLAY_LIST_DL_TEXT_H_
flutter::DlText
Definition
dl_text.h:19
flutter::DlText::GetTextBlob
virtual const SkTextBlob * GetTextBlob() const =0
flutter::DlText::~DlText
virtual ~DlText()=default
flutter::DlText::DlText
DlText()=default
flutter::DlText::GetBounds
virtual DlRect GetBounds() const =0
flutter::DlText::operator==
bool operator==(const DlText &other) const
Definition
dl_text.cc:11
flutter::DlText::GetTextFrame
virtual std::shared_ptr< impeller::TextFrame > GetTextFrame() const =0
dl_geometry_types.h
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
flutter
Definition
asset_manager.cc:10
impeller
Definition
texture.h:16
impeller::TRect< Scalar >
display_list
dl_text.h
Generated on Wed Dec 31 2025 04:49:43 for Flutter Engine Uber Docs by
1.9.8