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
9
10namespace impeller {
11class TextFrame;
12}
13
14class SkTextBlob;
15
16namespace flutter {
17class 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:
31};
32} // namespace flutter
33
34#endif // FLUTTER_DISPLAY_LIST_DL_TEXT_H_
virtual const SkTextBlob * GetTextBlob() const =0
virtual ~DlText()=default
DlText()=default
virtual DlRect GetBounds() const =0
bool operator==(const DlText &other) const
Definition dl_text.cc:11
virtual std::shared_ptr< impeller::TextFrame > GetTextFrame() const =0
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition macros.h:27