mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug with hatch brush (support saving RGBA data in CBgraFrame)
This commit is contained in:
@ -55,6 +55,8 @@ private:
|
||||
bool m_bIsGrayScale;
|
||||
double m_dJpegSaveQuality;
|
||||
|
||||
bool m_bIsRGBA;
|
||||
|
||||
public:
|
||||
CBgraFrame();
|
||||
~CBgraFrame();
|
||||
@ -80,10 +82,13 @@ public:
|
||||
|
||||
bool IsGrayScale();
|
||||
|
||||
void put_IsRGBA(const bool& bIsRGBA);
|
||||
bool get_IsRGBA();
|
||||
|
||||
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 SaveFile(const std::wstring& strFileName, unsigned int nFileType);
|
||||
bool Encode(BYTE*& pBuffer, int& nSize, unsigned int nFileType);
|
||||
|
||||
bool Resize(const long& nNewWidth, const long& nNewHeight, bool bDestroyData = true);
|
||||
|
||||
Reference in New Issue
Block a user