diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-21 01:03:02 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-21 08:04:31 +0200 |
commit | 9dd3203cc694295ca1b587d0405290a8fa46c145 (patch) | |
tree | 461f418fba0fe191472c94cd7303438452d12728 /Userland/Demos/LibGfxDemo/main.cpp | |
parent | 8cbdcffd05a7179ab20c49b1f058aa1a500faa58 (diff) | |
download | serenity-9dd3203cc694295ca1b587d0405290a8fa46c145.zip |
LibGfx: Add missing TextAlignment::BottomLeft
Diffstat (limited to 'Userland/Demos/LibGfxDemo/main.cpp')
-rw-r--r-- | Userland/Demos/LibGfxDemo/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Demos/LibGfxDemo/main.cpp b/Userland/Demos/LibGfxDemo/main.cpp index a293bd7dff..992906b9e4 100644 --- a/Userland/Demos/LibGfxDemo/main.cpp +++ b/Userland/Demos/LibGfxDemo/main.cpp @@ -141,6 +141,8 @@ void Canvas::draw() painter.draw_text({ 520, 260, 240, 80 }, "CenterRight", Gfx::TextAlignment::CenterRight, Color::White); painter.draw_text({ 520, 260, 240, 80 }, "TopLeft", Gfx::TextAlignment::TopLeft, Color::White); painter.draw_text({ 520, 260, 240, 80 }, "TopRight", Gfx::TextAlignment::TopRight, Color::White); + painter.draw_text({ 520, 260, 240, 80 }, "BottomLeft", Gfx::TextAlignment::BottomLeft, Color::White); + painter.draw_text({ 520, 260, 240, 80 }, "BottomRight", Gfx::TextAlignment::BottomRight, Color::White); painter.draw_rect({ 520, 360, 240, 30 }, Color::DarkGray); painter.draw_text({ 520, 360, 240, 30 }, "Emojis! 🙂😂🐞🦄", Gfx::TextAlignment::Center, Color::White); |