Definition at line 104 of file SkPath.cpp.
◆ SkAutoPathBoundsUpdate()
SkAutoPathBoundsUpdate::SkAutoPathBoundsUpdate |
( |
SkPath * |
path, |
|
|
const SkRect & |
r |
|
) |
| |
|
inline |
Definition at line 106 of file SkPath.cpp.
106 : fPath(
path), fRect(r) {
107
109
110
111 fHasValidBounds =
path->hasComputedBounds() &&
path->isFinite();
112 fEmpty =
path->isEmpty();
113 if (fHasValidBounds && !fEmpty) {
115 }
117 }
static bool is_degenerate(const SkPath &path)
static void joinNoEmptyChecks(SkRect *dst, const SkRect &src)
const SkRect & getBounds() const
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
◆ ~SkAutoPathBoundsUpdate()
SkAutoPathBoundsUpdate::~SkAutoPathBoundsUpdate |
( |
| ) |
|
|
inline |
Definition at line 119 of file SkPath.cpp.
119 {
122 if ((fEmpty || fHasValidBounds) && fRect.
isFinite()) {
123 fPath->setBounds(fRect);
124 }
125 }
The documentation for this class was generated from the following file: