Serenity Operating System
at master 23 lines 368 B view raw
1/* 2 * Copyright (c) 2021, Andreas Kling <kling@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <AK/Forward.h> 10#include <LibWeb/Forward.h> 11 12namespace Web::SVG { 13 14struct ViewBox { 15 float min_x { 0 }; 16 float min_y { 0 }; 17 float width { 0 }; 18 float height { 0 }; 19}; 20 21Optional<ViewBox> try_parse_view_box(StringView); 22 23}