SVGMaskPaintable.cpp 483 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2024, MacDue <macdue@dueutil.tech>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibWeb/Painting/SVGMaskPaintable.h>
  7. namespace Web::Painting {
  8. JS::NonnullGCPtr<SVGMaskPaintable> SVGMaskPaintable::create(Layout::SVGMaskBox const& layout_box)
  9. {
  10. return layout_box.heap().allocate_without_realm<SVGMaskPaintable>(layout_box);
  11. }
  12. SVGMaskPaintable::SVGMaskPaintable(Layout::SVGMaskBox const& layout_box)
  13. : SVGGraphicsPaintable(layout_box)
  14. {
  15. }
  16. }