xref: /aosp_15_r20/external/skia/third_party/vello/cpp/path_iterator.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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_
23