#include "src/gpu/ganesh/geometry/GrStyledShape.h"
#include "include/core/SkArc.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPathEffect.h"
#include "include/core/SkPoint.h"
#include "include/core/SkStrokeRec.h"
#include "include/private/SkIDChangeListener.h"
#include "include/private/base/SkAlign.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkMalloc.h"
#include "include/private/base/SkTo.h"
#include <algorithm>
#include <cstring>
#include <utility>
GrStyledShape& GrStyledShape::operator=(const GrStyledShape& that) { … }
static bool is_inverted(bool originalIsInverted, GrStyledShape::FillInversion inversion) { … }
GrStyledShape GrStyledShape::MakeFilled(const GrStyledShape& original, FillInversion inversion) { … }
SkRect GrStyledShape::styledBounds() const { … }
static int path_key_from_data_size(const SkPath& path) { … }
static void write_path_key_from_data(const SkPath& path, uint32_t* origKey) { … }
int GrStyledShape::unstyledKeySize() const { … }
void GrStyledShape::writeUnstyledKey(uint32_t* key) const { … }
void GrStyledShape::setInheritedKey(const GrStyledShape &parent, GrStyle::Apply apply,
SkScalar scale) { … }
const SkPath* GrStyledShape::originalPathForListeners() const { … }
void GrStyledShape::addGenIDChangeListener(sk_sp<SkIDChangeListener> listener) const { … }
GrStyledShape GrStyledShape::MakeArc(const SkArc& arc,
const GrStyle& style,
DoSimplify doSimplify) { … }
GrStyledShape::GrStyledShape(const GrStyledShape& that)
: … { … }
GrStyledShape::GrStyledShape(const GrStyledShape& parent, GrStyle::Apply apply, SkScalar scale) { … }
bool GrStyledShape::asRRect(SkRRect* rrect, bool* inverted) const { … }
bool GrStyledShape::asLine(SkPoint pts[2], bool* inverted) const { … }
bool GrStyledShape::asNestedRects(SkRect rects[2]) const { … }
class AutoRestoreInverseness { … };
void GrStyledShape::simplify() { … }
void GrStyledShape::simplifyStroke() { … }