SilentEye 0.4.1
|
Generic representation of image which can load and hide specific data according to it's format. More...
#include <image.h>
Public Member Functions | |
Image () | |
~Image () | |
Image (const QString &filepath) | |
Image (const QPixmap &pixmap, QString filePath="Pixmap") | |
Image (const Image &img) | |
Image (Image *img) | |
int | imgWidth () const |
int | imgHeight () const |
int | quality () const |
Protected Attributes | |
int | m_width |
Image width. | |
int | m_height |
Image height. | |
int | m_quality |
Quality (in pourcent) |
Generic representation of image which can load and hide specific data according to it's format.
SilentEyeFramework::Image::Image | ( | ) |
SilentEyeFramework::Image::Image | ( | const QString & | filepath | ) |
Definition at line 28 of file image.cpp.
References SilentEyeFramework::m_type, and SEFormatBMP::setObjectName().
SilentEyeFramework::Image::Image | ( | const QPixmap & | pixmap, |
QString | filePath = "Pixmap" |
||
) |
Definition at line 37 of file image.cpp.
References SilentEyeFramework::m_type, and SEFormatBMP::setObjectName().
SilentEyeFramework::Image::Image | ( | const Image & | img | ) |
Definition at line 46 of file image.cpp.
References imgHeight(), imgWidth(), SilentEyeFramework::m_type, and SEFormatBMP::setObjectName().
SilentEyeFramework::Image::Image | ( | Image * | img | ) |
Definition at line 55 of file image.cpp.
References imgHeight(), imgWidth(), SilentEyeFramework::m_type, and SEFormatBMP::setObjectName().
int SilentEyeFramework::Image::imgHeight | ( | ) | const |
Definition at line 74 of file image.cpp.
References m_height.
Referenced by SEFormatBMP::ImageBMP::capacity(), SEFormatBMP::ImageBMP::computeDistributionStep(), SEFormatBMP::ImageBMP::computeHeaderPosition(), and Image().
int SilentEyeFramework::Image::imgWidth | ( | ) | const |
Definition at line 69 of file image.cpp.
References m_width.
Referenced by SEFormatBMP::ImageBMP::capacity(), SEFormatBMP::ImageBMP::computeDistributionStep(), SEFormatBMP::ImageBMP::computeHeaderPosition(), SEFormatBMP::ImageBMP::computeNewPosition(), and Image().
int SilentEyeFramework::Image::quality | ( | ) | const |
Definition at line 79 of file image.cpp.
References m_quality.
Referenced by SilentEye::PropertyDialog::setMedia().
int SilentEyeFramework::Image::m_height [protected] |
int SilentEyeFramework::Image::m_quality [protected] |
Quality (in pourcent)
Reimplemented in SEFormatJPEG::ImageJPEG.
Definition at line 38 of file image.h.
Referenced by quality().
int SilentEyeFramework::Image::m_width [protected] |