mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Create CSoftMask
This commit is contained in:
@ -282,7 +282,7 @@ protected:
|
||||
CClipMulti m_oClip;
|
||||
|
||||
CAlphaMask* m_pAlphaMask;
|
||||
CAlphaMask* m_pPDFAlphaMask;
|
||||
CSoftMask* m_pSoftMask;
|
||||
|
||||
std::stack<CGraphicsLayer*> m_arLayers;
|
||||
|
||||
@ -403,11 +403,12 @@ public:
|
||||
|
||||
//Работа с альфа-маской
|
||||
Status SetAlphaMask(CAlphaMask* pAlphaMask);
|
||||
inline CAlphaMask* GetAlphaMask() { return m_pAlphaMask; }
|
||||
Status StartCreatingAlphaMask();
|
||||
Status EndCreatingAlphaMask();
|
||||
Status ResetAlphaMask();
|
||||
|
||||
Status CreateSoftMask();
|
||||
|
||||
//Работа со слоями
|
||||
Status AddLayer(CGraphicsLayer* pGraphicsLayer);
|
||||
Status CreateLayer();
|
||||
@ -416,10 +417,6 @@ public:
|
||||
|
||||
Status SetLayerSettings(const TGraphicsLayerSettings& oSettings);
|
||||
Status SetLayerOpacity(double dOpacity);
|
||||
Status SetLayerIsolated(bool bIsolated);
|
||||
Status SetAlphaMaskIsolated(bool bIsolated);
|
||||
|
||||
void TEST(int i, CBrush* pBrush = NULL, CGraphicsPath* pPath = NULL);
|
||||
|
||||
void CalculateFullTransform();
|
||||
bool IsClip();
|
||||
@ -429,8 +426,6 @@ public:
|
||||
|
||||
inline double GetPixW() { return m_dWidthPix; }
|
||||
inline double GetPixH() { return m_dHeightPix; }
|
||||
unsigned int GetLayerW();
|
||||
unsigned int GetLayerH();
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user