| 1 |
// Copyright 2023 Google LLC |
| 2 |
// |
| 3 |
// Use of this source code is governed by a BSD-style license that can be |
| 4 |
// found in the LICENSE file. |
| 5 |
|
| 6 |
#ifndef THIRD_PARTY_VELLO_INCLUDE_VELLO_CPP_PATH_ITERATOR_H_ |
| 7 |
#define THIRD_PARTY_VELLO_INCLUDE_VELLO_CPP_PATH_ITERATOR_H_ |
| 8 |
|
| 9 |
namespace vello_cpp { |
| 10 |
|
| 11 |
struct PathElement; |
| 12 |
|
| 13 |
class PathIterator { |
| 14 |
public: |
| 15 |
virtual ~PathIterator() = default; |
| 16 |
|
| 17 |
virtual bool next_element(PathElement* out_elem) = 0; |
| 18 |
}; |
| 19 |
|
| 20 |
} // namespace vello_cpp |
| 21 |
|
| 22 |
#endif // THIRD_PARTY_VELLO_INCLUDE_VELLO_CPP_PATH_ITERATOR_H_ |