CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
encoder.h
1
2#ifndef __image_encoder_h__
3#define __image_encoder_h__
4
5#include "fwd.h"
6#include "system/guid.h"
7
8namespace System { namespace Drawing { namespace Imaging {
9
10 class Encoder;
17 class ASPOSECPP_SHARED_CLASS Encoder : public Object
18 {
19 public:
23 Encoder(const Guid & guid) :m_guid(guid)
24 {}
25
27 static const ASPOSECPP_SHARED_API EncoderPtr Compression;
29 static const ASPOSECPP_SHARED_API EncoderPtr ColorDepth;
31 static const ASPOSECPP_SHARED_API EncoderPtr ScanMethod;
33 static const ASPOSECPP_SHARED_API EncoderPtr Version;
35 static const ASPOSECPP_SHARED_API EncoderPtr RenderMethod;
37 static const ASPOSECPP_SHARED_API EncoderPtr Quality;
39 static const ASPOSECPP_SHARED_API EncoderPtr Transformation;
41 static const ASPOSECPP_SHARED_API EncoderPtr LuminanceTable;
43 static const ASPOSECPP_SHARED_API EncoderPtr ChrominanceTable;
45 static const ASPOSECPP_SHARED_API EncoderPtr SaveFlag;
46
48 Guid get_Guid() const
49 {
50 return m_guid;
51 }
52
53 private:
55 Guid m_guid;
56
57 };
58
59}}}
60
61
62#endif
Represents a GUID that is associated with a set of image encoder parameters. Objects of this class sh...
Definition: encoder.h:18
static const EncoderPtr SaveFlag
An instance of Encoder class that represents the save flag parameter category.
Definition: encoder.h:45
static const EncoderPtr ColorDepth
An instance of Encoder class that represents the color depth parameter category.
Definition: encoder.h:29
static const EncoderPtr Version
An instance of Encoder class that represents the version parameter category.
Definition: encoder.h:33
static const EncoderPtr ScanMethod
An instance of Encoder class that represents the scan method parameter category.
Definition: encoder.h:31
static const EncoderPtr Transformation
An instance of Encoder class that represents the transformation parameter category.
Definition: encoder.h:39
static const EncoderPtr RenderMethod
An instance of Encoder class that represents the render method parameter category.
Definition: encoder.h:35
Guid get_Guid() const
Returns a GUID that specifies a set of image encoder parameters the current object represents.
Definition: encoder.h:48
static const EncoderPtr LuminanceTable
An instance of Encoder class that represents the luminance table parameter category.
Definition: encoder.h:41
static const EncoderPtr ChrominanceTable
An instance of Encoder class that represents chrominance table parameter category.
Definition: encoder.h:43
Encoder(const Guid &guid)
Constructs a new instance of Encoder class.
Definition: encoder.h:23
static const EncoderPtr Quality
An instance of Encoder class that represents the quality parameter category.
Definition: encoder.h:37
static const EncoderPtr Compression
An instance of Encoder class that represents the compression parameter category.
Definition: encoder.h:27
Represents a Globally Unique IDentifier This type should be allocated on stack and passed to function...
Definition: guid.h:34
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< Encoder > EncoderPtr
An alias for a shared pointer to an instance of Encoder class.
Definition: encoder.h:12
Definition: db_command.h:9