![]() |
pCon.planner Plugin SDK
Version 8.9
|
Wraps an object of class Image. More...
Public Member Functions | |
virtual bool | Equals (System::Object^ pOther) override |
Returns only true if the given Object is of Image type and delivers the same hash. More... | |
virtual int | GetHashCode () override |
Returns the 32 bit hash of the image. More... | |
System::Int64 | GetHashCode64 () |
Returns the 64 bit hash of the image. More... | |
bool | IsTransparent () |
Returns true if the image has transparent pixels. More... | |
bool | WriteToFile (System::String^ pFileName) |
Writes the image to file. More... | |
Bitmap^ | ToBitmap () |
Converts image to a GDI+ bitmap. More... | |
array< unsigned char >^ | GetData () |
Returns raw image data. More... | |
Properties | |
String^ | FileName [get] |
Returns the source filename of the image. More... | |
int | Width [get] |
Width of the image in pixels. More... | |
int | Height [get] |
Height of the image in pixels. More... | |
PixelFormat | Format [get] |
Pixel format of the image. More... | |
int | BitsPerPixel [get] |
Number of bits per pixel. More... | |
Image^ | ActualImage [get] |
Returns the actual image which is wrapped by this. More... | |
Wraps an object of class Image.
Needed for legacy reasons.
|
overridevirtual |
Returns only true if the given Object is of Image type and delivers the same hash.
Otherwise the result is false.
array< unsigned char > X3g::Plugin::IImage::GetData | ( | ) |
Returns raw image data.
|
overridevirtual |
Returns the 32 bit hash of the image.
System::Int64 X3g::Plugin::IImage::GetHashCode64 | ( | ) |
Returns the 64 bit hash of the image.
bool X3g::Plugin::IImage::IsTransparent | ( | ) |
Returns true if the image has transparent pixels.
System::Drawing::Bitmap X3g::Plugin::IImage::ToBitmap | ( | ) |
Converts image to a GDI+ bitmap.
bool X3g::Plugin::IImage::WriteToFile | ( | System::String^ | pFileName) |
Writes the image to file.
|
get |
Returns the actual image which is wrapped by this.
|
get |
Number of bits per pixel.
|
get |
Returns the source filename of the image.
|
get |
Pixel format of the image.
|
get |
Height of the image in pixels.
|
get |
Width of the image in pixels.