CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
color_map.h
1
2#ifndef _color_map_h_
3#define _color_map_h_
4
5#include "fwd.h"
6#include "drawing/color.h"
7#include "system/object.h"
8
9namespace System { namespace Drawing { namespace Imaging {
10
11 class ColorMap;
18 class ASPOSECPP_SHARED_CLASS ColorMap : public Object
19 {
20
21 public:
23 ASPOSECPP_SHARED_API Color get_OldColor() const;
26 ASPOSECPP_SHARED_API void set_OldColor(const Color & value);
28 ASPOSECPP_SHARED_API Color get_NewColor() const;
31 ASPOSECPP_SHARED_API void set_NewColor(const Color & value);
32
33 private:
35 Color m_old_color;
37 Color m_new_color;
38 };
39
40}}}
41
42
43#endif
Represents a color. This type should be allocated on stack and passed to functions by value or by ref...
Definition: color.h:24
Represents a map for converting colors. Objects of this class should only be allocated using System::...
Definition: color_map.h:19
Color get_NewColor() const
Returns the new Color object representing the color to which to convert.
Color get_OldColor() const
Returns the old Color object representing the color to be converted.
void set_OldColor(const Color &value)
Sets the old Color object representing the color to be converted.
void set_NewColor(const Color &value)
Sets the new Color object representing the color to which to convert.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
SharedPtr< ColorMap > ColorMapPtr
An alias for a shared pointer to an instance of ColorMap class.
Definition: color_map.h:13
Definition: db_command.h:9