Debian Codegraph @

modules/svg/src/SkSVGRectPriv.h

raw
1 /*
2 * Copyright 2024 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkSVGRectPriv_DEFINED
9 #define SkSVGRectPriv_DEFINED
10
11 #include "include/core/SkTypes.h"
12
13 #include <optional>
14 #include <tuple>
15
16 class SkSVGLength;
17 class SkSVGLengthContext;
18
19 std::tuple<float, float> ResolveOptionalRadii(const std::optional<SkSVGLength>& rx,
20 const std::optional<SkSVGLength>& ry,
21 const SkSVGLengthContext&);
22
23 #endif // SkSVGRectPriv_DEFINED