forked from microsoft/calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IEquationOptions.h
39 lines (30 loc) · 1.33 KB
/
IEquationOptions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "Common.h"
#include "GraphingEnums.h"
namespace Graphing
{
struct IEquationOptions : public NonCopyable, public NonMoveable
{
virtual ~IEquationOptions() = default;
virtual Graphing::Color GetGraphColor() const = 0;
virtual void SetGraphColor(const Graphing::Color& color) = 0;
virtual void ResetGraphColor() = 0;
virtual Graphing::Renderer::LineStyle GetLineStyle() const = 0;
virtual void SetLineStyle(Graphing::Renderer::LineStyle value) = 0;
virtual void ResetLineStyle() = 0;
virtual float GetLineWidth() const = 0;
virtual void SetLineWidth(float value) = 0;
virtual void ResetLineWidth() = 0;
virtual float GetSelectedEquationLineWidth() const = 0;
virtual void SetSelectedEquationLineWidth(float value) = 0;
virtual void ResetSelectedEquationLineWidth() = 0;
virtual float GetPointRadius() const = 0;
virtual void SetPointRadius(float value) = 0;
virtual void ResetPointRadius() = 0;
virtual float GetSelectedEquationPointRadius() const = 0;
virtual void SetSelectedEquationPointRadius(float value) = 0;
virtual void ResetSelectedEquationPointRadius() = 0;
};
}