Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
include
core
SkArc.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 Google LLC
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 SkArc_DEFINED
9
#define SkArc_DEFINED
10
11
#include "
include/core/SkRect.h
"
12
#include "
include/core/SkScalar.h
"
13
14
// Represents an arc along an oval boundary, or a closed wedge of the oval.
15
struct
SkArc
{
16
// Bounds of oval containing the arc.
17
SkRect
fOval
;
18
19
// Angle in degrees where the arc begins. Zero means horizontally to the right.
20
SkScalar
fStartAngle
;
21
// Sweep angle in degrees; positive is clockwise.
22
SkScalar
fSweepAngle
;
23
24
// If true, draws a wedge that includes lines from the oval's center to the arc end points.
25
// If false, just draws the arc along the oval's perimeter.
26
bool
fUseCenter
;
27
};
28
29
#endif
SkRect.h
SkScalar.h
SkScalar
float SkScalar
Definition
extension.cpp:12
SkArc
Definition
SkArc.h:15
SkArc::fUseCenter
bool fUseCenter
Definition
SkArc.h:26
SkArc::fSweepAngle
SkScalar fSweepAngle
Definition
SkArc.h:22
SkArc::fStartAngle
SkScalar fStartAngle
Definition
SkArc.h:20
SkArc::fOval
SkRect fOval
Definition
SkArc.h:17
SkRect
Definition
extension.cpp:13
Generated on Fri Apr 26 2024 06:16:10 for Flutter Engine by
1.9.8