CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
color_palette.h
1
2#ifndef _aspose_system_drawing_color_palette_h_
3#define _aspose_system_drawing_color_palette_h_
4
5#include "fwd.h"
6#include "drawing/color.h"
7#include "system/array.h"
8
9#ifdef ASPOSECPPLIB_BEING_BUILT
10#include <src/codec/SkColorTable.h>
11#endif
12
14ASPOSECPP_3RD_PARTY_CLASS(SkColorTable);
15
16namespace System { namespace Drawing { class Bitmap; } }
17namespace System { namespace Drawing { class Image; } }
18
19namespace System { namespace Drawing { namespace Imaging {
20
21class ColorPalette;
24
29class ASPOSECPP_SHARED_CLASS ColorPalette : public Object
30{
33public:
37 ASPOSECPP_SHARED_API int get_Flags() const;
39 ASPOSECPP_SHARED_API System::ArrayPtr<Color> get_Entries() const;
40
41private:
44 ColorPalette(int count = 0);
47 ColorPalette(SkColorTable* sk_color_table = nullptr);
48 MEMBER_FUNCTION_MAKE_OBJECT(ColorPalette, CODEPORTING_ARGS(SkColorTable* sk_color_table = nullptr), CODEPORTING_ARGS(sk_color_table));
50 int m_flags = 0;
53};
54
55}}} // System::Drawing::Imaging
56
57
58#endif // _aspose_system_drawing_color_palette_h_
Represents a GDI+ bitmap image. Objects of this class should only be allocated using System::MakeObje...
Definition: bitmap.h:64
A base class for System::Drawing::Bitmap and System::Drawing::Metafile classes providing basic functi...
Definition: image.h:72
Represents a set of 32-bit ARGB colors that make up a color palette. Objects of this class should onl...
Definition: color_palette.h:30
System::ArrayPtr< Color > get_Entries() const
Returns an array of Color objects represented by the current object.
int get_Flags() const
Returns a value that specifies how the color values in the array of colors should be interpreted.
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
@ Bitmap
Defines color adjustment information for Bitmap objects.
SharedPtr< ColorPalette > ColorPalettePtr
An alias for a shared pointer to an instance of the ColorPalette class.
Definition: color_palette.h:23
Definition: db_command.h:9