Flutter Engine
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 "
flutter/display_list/geometry/dl_geometry_types.h
"
9
10
namespace
impeller
{
11
class
TextFrame;
12
}
13
14
class
SkTextBlob;
15
16
namespace
flutter
{
17
class
DlText
{
18
public
:
19
virtual
DlRect
GetBounds
()
const
= 0;
20
virtual
std::shared_ptr<impeller::TextFrame>
GetTextFrame
()
const
= 0;
21
virtual
const
SkTextBlob*
GetTextBlob
()
const
= 0;
22
23
bool
operator==
(
const
DlText
& other)
const
;
24
25
protected
:
26
DlText
() =
default
;
27
virtual
~DlText
() =
default
;
28
29
private
:
30
FML_DISALLOW_COPY_AND_ASSIGN
(
DlText
);
31
};
32
}
// namespace flutter
33
34
#endif
// FLUTTER_DISPLAY_LIST_DL_TEXT_H_
flutter::DlText
Definition
dl_text.h:17
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 Thu Nov 6 2025 16:11:21 for Flutter Engine by
1.9.8