BorderPainting.h 390 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibGfx/Forward.h>
  8. #include <LibWeb/CSS/ComputedValues.h>
  9. namespace Web::Painting {
  10. enum class BorderEdge {
  11. Top,
  12. Right,
  13. Bottom,
  14. Left,
  15. };
  16. void paint_border(PaintContext&, BorderEdge, const Gfx::FloatRect&, const CSS::ComputedValues&);
  17. }