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
11
12namespace impeller {
13class TextFrame;
14}
15
16class SkTextBlob;
17
18namespace flutter {
19class 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:
33};
34} // namespace flutter
35
36#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