mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
PixelPaint: Enable antialiased option for outline ellipsis
This commit is contained in:
parent
8c2a5bbc15
commit
f98dad94fb
2 changed files with 15 additions and 21 deletions
|
@ -31,8 +31,7 @@ public:
|
|||
private:
|
||||
enum class FillMode {
|
||||
Outline,
|
||||
Fill,
|
||||
FillAntiAliased
|
||||
Fill
|
||||
};
|
||||
|
||||
enum class DrawMode {
|
||||
|
@ -51,9 +50,9 @@ private:
|
|||
Gfx::IntPoint m_ellipse_end_position;
|
||||
int m_thickness { 1 };
|
||||
FillMode m_fill_mode { FillMode::Outline };
|
||||
bool m_last_aa_checkbox_state { false };
|
||||
DrawMode m_draw_mode { DrawMode::FromCorner };
|
||||
Optional<float> m_aspect_ratio;
|
||||
bool m_antialias_enabled { false };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue