MCPcopy Create free account
hub / github.com/Tencent/tgfx / path

Method path

src/layers/ShapeLayer.cpp:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27Path ShapeLayer::path() const {
28 if (_shape == nullptr) {
29 return {};
30 }
31 return _shape->isSimplePath() ? _shape->getPath() : Path();
32}
33
34void ShapeLayer::setPath(Path path) {
35 Path oldPath = {};

Callers 1

RemoveEmptyFolderFunction · 0.45

Calls 3

PathClass · 0.50
isSimplePathMethod · 0.45
getPathMethod · 0.45

Tested by

no test coverage detected