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

Method DrawPathProvider

test/src/CanvasTest.cpp:1548–1549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1546 class DrawPathProvider : public PathProvider {
1547 public:
1548 explicit DrawPathProvider(const std::vector<Point>& pts) : points(pts) {
1549 }
1550
1551 Path getPath() const override {
1552 if (points.size() < 2) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected