mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +00:00
LibWeb: Use generated TransformFunction enum and functions
This commit is contained in:
parent
872ad98eba
commit
61ad39b110
3 changed files with 3 additions and 81 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <LibWeb/CSS/PropertyID.h>
|
||||
#include <LibWeb/CSS/Resolution.h>
|
||||
#include <LibWeb/CSS/Time.h>
|
||||
#include <LibWeb/CSS/TransformFunctions.h>
|
||||
#include <LibWeb/CSS/ValueID.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Loader/ImageResource.h>
|
||||
|
@ -72,20 +73,6 @@ inline Gfx::Painter::ScalingMode to_gfx_scaling_mode(CSS::ImageRendering css_val
|
|||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
enum class TransformFunction {
|
||||
Matrix,
|
||||
Translate,
|
||||
TranslateX,
|
||||
TranslateY,
|
||||
Scale,
|
||||
ScaleX,
|
||||
ScaleY,
|
||||
Rotate,
|
||||
Skew,
|
||||
SkewX,
|
||||
SkewY,
|
||||
};
|
||||
|
||||
class StyleValue : public RefCounted<StyleValue> {
|
||||
public:
|
||||
virtual ~StyleValue() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue