MyScript Interactive Ink SDK 4.4.2
HandwritingProfileBuilder.h
1// Copyright @ MyScript. All rights reserved.
2
3#pragma once
4
5#include <iink/services/HandwritingProfile.h>
6#include <iink/String.h>
7
8#include <memory>
9#include <vector>
10
11namespace myscript {
12namespace iink {
13
14class ContentBlock;
15class ContentSelection;
16class Engine;
17class ParameterSet;
18
27{
28public:
29 virtual ~HandwritingProfileBuilder() = default;
30
39 virtual int getPredefinedProfileCount() = 0;
40
50 virtual std::shared_ptr<HandwritingProfile> getPredefinedProfileAt(int index) = 0;
51
59 virtual std::shared_ptr<HandwritingProfile> createFromSelection(const std::shared_ptr<ContentSelection>& selection) = 0;
60
69 virtual std::shared_ptr<HandwritingProfile> createFromFile(const String& fileName) = 0;
70
80 virtual std::shared_ptr<HandwritingProfile> load(const String& fileName) = 0;
81
91 virtual void store(std::shared_ptr<HandwritingProfile> profile, const String& fileName) = 0;
92};
93
94}
95}
Definition: HandwritingProfileBuilder.h:27
virtual std::shared_ptr< HandwritingProfile > createFromFile(const String &fileName)=0
virtual std::shared_ptr< HandwritingProfile > getPredefinedProfileAt(int index)=0
virtual void store(std::shared_ptr< HandwritingProfile > profile, const String &fileName)=0
virtual std::shared_ptr< HandwritingProfile > createFromSelection(const std::shared_ptr< ContentSelection > &selection)=0
virtual std::shared_ptr< HandwritingProfile > load(const String &fileName)=0
Definition: String.h:17
Definition: Configuration.h:10