1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:57:44 +00:00

LibWeb: Move text fragment painting to PaintableWithLines

All the other painting code has moved to paintables already.
This commit is contained in:
Andreas Kling 2022-03-16 23:03:18 +01:00
parent 7969161f07
commit be5f0b5ac4
6 changed files with 147 additions and 164 deletions

View file

@ -23,8 +23,6 @@ public:
const String& text_for_rendering() const { return m_text_for_rendering; }
virtual void paint_fragment(PaintContext&, const LineBoxFragment&, Painting::PaintPhase) const override;
struct Chunk {
Utf8View view;
size_t start { 0 };