Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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"
13
14// Represents an arc along an oval boundary, or a closed wedge of the oval.
15struct SkArc {
16 // Bounds of oval containing the arc.
18
19 // Angle in degrees where the arc begins. Zero means horizontally to the right.
21 // Sweep angle in degrees; positive is clockwise.
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.
27};
28
29#endif
float SkScalar
Definition extension.cpp:12
Definition SkArc.h:15
bool fUseCenter
Definition SkArc.h:26
SkScalar fSweepAngle
Definition SkArc.h:22
SkScalar fStartAngle
Definition SkArc.h:20
SkRect fOval
Definition SkArc.h:17