mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
LibGfx: Add TextAlignment::BottomRight
This commit is contained in:
parent
23a43d10f3
commit
28db3cd5ef
3 changed files with 10 additions and 0 deletions
|
@ -34,6 +34,7 @@ enum class TextAlignment {
|
|||
Center,
|
||||
CenterRight,
|
||||
TopRight,
|
||||
BottomRight,
|
||||
};
|
||||
|
||||
inline bool is_right_text_alignment(TextAlignment alignment)
|
||||
|
@ -41,6 +42,7 @@ inline bool is_right_text_alignment(TextAlignment alignment)
|
|||
switch (alignment) {
|
||||
case TextAlignment::CenterRight:
|
||||
case TextAlignment::TopRight:
|
||||
case TextAlignment::BottomRight:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue