mirror of
https://github.com/RGBCube/serenity
synced 2025-10-28 11:52:37 +00:00
Build a grid snapped to device pixels and use it to construct the rectangles for the cell edges, same as for collapsed borders. This is especially important when border-spacing is set to 0 since it avoids gaps between adjacent cells which have borders set.
15 lines
251 B
C++
15 lines
251 B
C++
/*
|
|
* Copyright (c) 2023, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/Painting/PaintContext.h>
|
|
|
|
namespace Web::Painting {
|
|
|
|
void paint_table_borders(PaintContext&, Layout::Node const&);
|
|
|
|
}
|