MyScript Interactive Ink SDK  4.1.2
IStroker.h
1 // Copyright @ MyScript. All rights reserved.
2 
3 #pragma once
4 
5 #include <iink/graphics/IPath.h>
6 #include <iink/graphics/InkPoint.h>
7 
8 #include <vector>
9 #include <memory>
10 
11 namespace myscript {
12 namespace iink {
13 namespace graphics {
14 
19 class IStroker
20 {
21 public:
22 
23  virtual ~IStroker() = default;
24 
30  virtual bool isFill() const noexcept = 0;
31 
40  virtual void stroke(const std::vector<InkPoint>& input, float width, float pixelSize, std::shared_ptr<IPath> output) noexcept = 0;
41 
42 };
43 
44 }
45 }
46 }
Definition: IPath.h:29
Definition: IStroker.h:20
virtual void stroke(const std::vector< InkPoint > &input, float width, float pixelSize, std::shared_ptr< IPath > output) noexcept=0
virtual bool isFill() const noexcept=0
Definition: Configuration.h:10
Definition: InkPoint.h:16