8#ifndef GrStyledShape_DEFINED
9#define GrStyledShape_DEFINED
212 return !fShape.
isPath() ||
233 if (this->
style().hasNonDashPathEffect()) {
305 void simplifyStroke();
308 const SkPath* originalPathForListeners()
const;
314 bool fClosed =
false;
315 bool fSimplified =
false;
@ kYes
Do pre-clip the geometry before applying the (perspective) matrix.
@ kNo
Don't pre-clip the geometry before applying the (perspective) matrix.
static bool apply(Pass *pass, SkRecord *record)
uint32_t segmentMask() const
void setPathWindingParams(SkPathDirection dir, unsigned start)
void setInverted(bool inverted)
void asPath(SkPath *out, bool simpleFill=true) const
bool convex(bool simpleFill=true) const
bool isSimpleFill() const
bool knownToBeClosed() const
void asPath(SkPath *out) const
void writeUnstyledKey(uint32_t *key) const
GrStyledShape(const SkPath &path, const SkPaint &paint, DoSimplify doSimplify=DoSimplify::kYes)
int unstyledKeySize() const
static GrStyledShape MakeArc(const SkArc &arc, const GrStyle &style, DoSimplify=DoSimplify::kYes)
bool asLine(SkPoint pts[2], bool *inverted) const
bool asRRect(SkRRect *rrect, bool *inverted) const
GrStyledShape(const SkRect &rect, const GrStyle &style, DoSimplify doSimplify=DoSimplify::kYes)
GrStyledShape(const SkRRect &rrect, const SkPaint &paint, DoSimplify doSimplify=DoSimplify::kYes)
GrStyledShape(const SkRect &rect, const SkPaint &paint, DoSimplify doSimplify=DoSimplify::kYes)
GrStyledShape(const SkRRect &rrect, SkPathDirection dir, unsigned start, bool inverted, const GrStyle &style, DoSimplify doSimplify=DoSimplify::kYes)
bool knownDirection() const
bool knownToBeConvex() const
bool hasUnstyledKey() const
bool inverseFilled() const
const GrStyle & style() const
GrStyledShape(const SkPath &path, DoSimplify doSimplify=DoSimplify::kYes)
GrStyledShape(const SkRRect &rrect, DoSimplify doSimplify=DoSimplify::kYes)
GrStyledShape(const SkPath &path, const GrStyle &style, DoSimplify doSimplify=DoSimplify::kYes)
SkRect styledBounds() const
bool asNestedRects(SkRect rects[2]) const
void addGenIDChangeListener(sk_sp< SkIDChangeListener >) const
GrStyledShape(const SkRRect &rrect, const GrStyle &style, DoSimplify doSimplify=DoSimplify::kYes)
bool mayBeInverseFilledAfterStyling() const
bool testingOnly_isPath() const
bool testingOnly_isNonVolatilePath() const
uint32_t segmentMask() const
static constexpr int kMaxKeyFromDataVerbCnt
uint32_t testingOnly_getOriginalGenerationID() const
static GrStyledShape MakeFilled(const GrStyledShape &original, FillInversion=FillInversion::kPreserve)
GrStyledShape applyStyle(GrStyle::Apply apply, SkScalar scale) const
GrStyledShape & operator=(const GrStyledShape &that)
GrStyledShape(const SkRect &rect, DoSimplify doSimplify=DoSimplify::kYes)
static SkPathFirstDirection ComputeFirstDirection(const SkPath &)
bool isInverseFillType() const
sk_sp< SkBlender > blender SkRect rect
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace Enable an endless trace buffer The default is a ring buffer This is useful when very old events need to viewed For during application launch Memory usage will continue to grow indefinitely however Start app with an specific route defined on the framework flutter assets dir