Prep for moving display-list rasterization out of LibWeb by moving the device-pixel corner radius, corner clip, and anti-aliasing types to LibGfx. Keep BorderRadiiData in LibWeb as the CSS-pixel representation and convert it to Gfx corner radii when recording display-list commands.
16 lines
208 B
C++
16 lines
208 B
C++
/*
|
|
* Copyright (c) 2025, Tim Ledbetter <tim.ledbetter@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Gfx {
|
|
|
|
enum class ShouldAntiAlias : bool {
|
|
Yes,
|
|
No,
|
|
};
|
|
|
|
}
|