xref: /aosp_15_r20/external/skia/modules/svg/src/SkSVGRectPriv.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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 "src/base/SkTLazy.h"  // IWYU pragma: keep
12 
13 #include <tuple>
14 
15 class SkSVGLength;
16 class SkSVGLengthContext;
17 
18 std::tuple<float, float> ResolveOptionalRadii(const SkTLazy<SkSVGLength>& rx,
19                                               const SkTLazy<SkSVGLength>& ry,
20                                               const SkSVGLengthContext&);
21 
22 #endif // SkSVGRectPriv_DEFINED
23