2#ifndef _encoder_parameter_h_
3#define _encoder_parameter_h_
6#include "system/exceptions.h"
7#include "system/guid.h"
8#include "drawing/imaging/encoder.h"
9#include "drawing/imaging/encoder_parameter_value_type.h"
12namespace System {
namespace Drawing {
19 class EncoderParameter;
125 Guid m_parameter_guid;
127 int m_number_of_values;
131 void * m_parameter_value;
A base class for System::Drawing::Bitmap and System::Drawing::Metafile classes providing basic functi...
Definition: image.h:72
Serves as a container used to pass values to an image encoder. Objects of this class should only be a...
Definition: encoder_parameter.h:27
EncoderParameter(const SharedPtr< Encoder > &encoder, int16_t value)
Constructs a new instance of EncoderParameter class.
EncoderParameter(const SharedPtr< Encoder > &encoder, int numberValues, EncoderParameterValueType type, void *value)
Constructs a new instance of EncoderParameter class that represents the specified number of values of...
void set_Encoder(const EncoderPtr &value)
Associates the specified Encoder object with the current EncoderParameter object.
~EncoderParameter()
Destructor.
EncoderParameter(const SharedPtr< Encoder > &encoder, const ArrayPtr< int16_t > &value)
Constructs a new instance of EncoderParameter class that represents an array of values.
EncoderParameter(const SharedPtr< Encoder > &encoder, uint8_t value, bool undefined=false)
Constructs a new instance of EncoderParameter class.
EncoderPtr get_Encoder() const
Returns the Encoder object associated with the current EncoderParameter object.
EncoderParameter(const SharedPtr< Encoder > &encoder, const ArrayPtr< int32_t > &numerator1, const ArrayPtr< int32_t > &denominator1, const ArrayPtr< int32_t > &numerator2, const ArrayPtr< int32_t > &denominator2)
Constructs a new instance of EncoderParameter class that represents an array of ranges of fractions.
EncoderParameter(const SharedPtr< Encoder > &encoder, int32_t value)
Constructs a new instance of EncoderParameter class.
EncoderParameter(const SharedPtr< Encoder > &encoder, const ArrayPtr< int32_t > &numerator, const ArrayPtr< int32_t > &denominator)
Constructs a new instance of EncoderParameter class that represents an array of fractions.
EncoderParameter(const SharedPtr< Encoder > &encoder, const ArrayPtr< uint8_t > &value, bool undefined=false)
Constructs a new instance of EncoderParameter class that represents an array of values.
EncoderParameter(const SharedPtr< Encoder > &encoder, const ArrayPtr< int64_t > &value)
Constructs a new instance of EncoderParameter class that represents an array of values.
int get_NumberOfValues() const
Returns the number of value represented by the current object.
EncoderParameter(const SharedPtr< Encoder > &encoder, int64_t value)
Constructs a new instance of EncoderParameter class.
EncoderParameter()
Constructs a new instance of EncoderParameter class.
EncoderParameterValueType get_Type() const
Returns the type of the value(s) represented by the current object.
EncoderParameter(const SharedPtr< Encoder > &encoder, const String &value)
Constructs a new instance of EncoderParameter class.
EncoderParameter(const SharedPtr< Encoder > &encoder, const ArrayPtr< int64_t > &rangebegin, const ArrayPtr< int64_t > &rangeend)
Constructs a new instance of EncoderParameter class that represents an array of ranges of integers.
EncoderParameter(const SharedPtr< Encoder > &encoder, int64_t rangebegin, int64_t rangeend)
Constructs a new instance of EncoderParameter class that represents a range of integer values.
EncoderParameter(const SharedPtr< Encoder > &encoder, int32_t numerator, int32_t denominator)
Constructs a new instance of EncoderParameter class that represents a fraction.
EncoderParameter(const SharedPtr< Encoder > &encoder, int32_t numerator1, int32_t demoninator1, int32_t numerator2, int32_t demoninator2)
Constructs a new instance of EncoderParameter class that represents a range of fractions.
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
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
EncoderParameterValueType
Specifies the type of a value represented by EncoderParameter class.
Definition: encoder_parameter_value_type.h:7
SharedPtr< EncoderParameter > EncoderParameterPtr
An alias for a shared pointer to an instance of EncoderParameter class.
Definition: encoder_parameter.h:21
Definition: db_command.h:9