This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +141
-658
lines changed
Expand file tree Collapse file tree 8 files changed +141
-658
lines changed Original file line number Diff line number Diff line change @@ -1116,7 +1116,6 @@ FILE: ../../../flutter/third_party/txt/src/txt/font_skia.cc
11161116FILE: ../../../flutter/third_party/txt/src/txt/font_skia.h
11171117FILE: ../../../flutter/third_party/txt/src/txt/font_style.h
11181118FILE: ../../../flutter/third_party/txt/src/txt/font_weight.h
1119- FILE: ../../../flutter/third_party/txt/src/txt/line_metrics.h
11201119FILE: ../../../flutter/third_party/txt/src/txt/paint_record.cc
11211120FILE: ../../../flutter/third_party/txt/src/txt/paint_record.h
11221121FILE: ../../../flutter/third_party/txt/src/txt/paragraph.h
@@ -1130,7 +1129,6 @@ FILE: ../../../flutter/third_party/txt/src/txt/paragraph_txt.cc
11301129FILE: ../../../flutter/third_party/txt/src/txt/paragraph_txt.h
11311130FILE: ../../../flutter/third_party/txt/src/txt/placeholder_run.cc
11321131FILE: ../../../flutter/third_party/txt/src/txt/placeholder_run.h
1133- FILE: ../../../flutter/third_party/txt/src/txt/run_metrics.h
11341132FILE: ../../../flutter/third_party/txt/src/txt/styled_runs.cc
11351133FILE: ../../../flutter/third_party/txt/src/txt/styled_runs.h
11361134FILE: ../../../flutter/third_party/txt/src/txt/test_font_manager.cc
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ source_set("txt") {
8787 " src/txt/font_skia.h" ,
8888 " src/txt/font_style.h" ,
8989 " src/txt/font_weight.h" ,
90- " src/txt/line_metrics.h" ,
9190 " src/txt/paint_record.cc" ,
9291 " src/txt/paint_record.h" ,
9392 " src/txt/paragraph.h" ,
@@ -102,7 +101,6 @@ source_set("txt") {
102101 " src/txt/placeholder_run.cc" ,
103102 " src/txt/placeholder_run.h" ,
104103 " src/txt/platform.h" ,
105- " src/txt/run_metrics.h" ,
106104 " src/txt/styled_runs.cc" ,
107105 " src/txt/styled_runs.h" ,
108106 " src/txt/test_font_manager.cc" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1-
21/*
32 * Copyright 2017 Google Inc.
43 *
1817#ifndef LIB_TXT_SRC_PARAGRAPH_H_
1918#define LIB_TXT_SRC_PARAGRAPH_H_
2019
21- #include " line_metrics.h"
2220#include " paragraph_style.h"
2321
2422class SkCanvas ;
@@ -173,8 +171,6 @@ class Paragraph {
173171 // Finds the first and last glyphs that define a word containing the glyph at
174172 // index offset.
175173 virtual Range<size_t > GetWordBoundary (size_t offset) = 0;
176-
177- virtual std::vector<LineMetrics>& GetLineMetrics () = 0;
178174};
179175
180176} // namespace txt
You can’t perform that action at this time.
0 commit comments