Merge branch 'feature/metafile_to_svg' into feature/imagesModule

This commit is contained in:
Oleg Korshul
2022-08-03 12:20:34 +03:00
68 changed files with 26263 additions and 21699 deletions

View File

@ -49,45 +49,46 @@ private:
BYTE* m_pData;
BYTE* m_pPalette;
int m_lPaletteColors;
BYTE* m_pPalette;
int m_lPaletteColors;
bool m_bIsGrayScale;
double m_dJpegSaveQuality;
bool m_bIsGrayScale;
double m_dJpegSaveQuality;
bool m_bIsRGBA;
bool m_bIsRGBA;
public:
CBgraFrame();
~CBgraFrame();
CBgraFrame();
~CBgraFrame();
void Destroy();
void Clear();
void Destroy();
void Clear();
void ClearNoAttack();
void ClearNoAttack();
int get_Width();
void put_Width(const int& lWidth);
int get_Width();
void put_Width(const int& lWidth);
int get_Height();
void put_Height(const int& lHeight);
int get_Height();
void put_Height(const int& lHeight);
int get_Stride();
void put_Stride(const int& lStride);
int get_Stride();
void put_Stride(const int& lStride);
BYTE* get_Data();
void put_Data(BYTE* pData);
BYTE* get_Data();
void put_Data(BYTE* pData);
void put_Palette(BYTE* pDataColors, const int& colors);
void put_Palette(BYTE* pDataColors, const int& colors);
bool IsGrayScale();
bool IsGrayScale();
void put_IsRGBA(const bool& bIsRGBA);
bool get_IsRGBA();
void put_IsRGBA(const bool& bIsRGBA);
bool get_IsRGBA();
void SetJpegQuality(const double& value);
void SetJpegQuality(const double& value);
bool OpenFile(const std::wstring& strFileName, unsigned int nFileType = 0); //0 - detect
bool SaveFile(const std::wstring& strFileName, unsigned int nFileType);
bool Decode(BYTE* pBuffer, int nSize, unsigned int nFileType = 0);
bool Encode(BYTE*& pBuffer, int& nSize, unsigned int nFileType);
@ -97,7 +98,7 @@ public:
bool ReColorPatternImage(const std::wstring& strFileName, unsigned int rgbColorBack, unsigned int rgbColorFore);
void FromImage(IGrObject* pGraphics, bool bIsCopy = true);
void FromImage(IGrObject* pGraphics, bool bIsCopy = true);
};
#endif