xps texture in memory

This commit is contained in:
Kulikova Svetlana
2021-06-29 18:09:55 +03:00
parent a1b480b83e
commit fe129f33ce
8 changed files with 104 additions and 41 deletions

View File

@ -206,6 +206,7 @@ BYTE* CXpsFile::ConvertToPixels(int nPageIndex, int nRasterW, int nRasterH)
RELEASEINTERFACE(pFontManager);
RELEASEOBJECT(pRenderer);
oFrame.ClearNoAttack();
return pBgraData;
}
void CXpsFile::ConvertToRaster(int nPageIndex, const std::wstring& wsDstPath, int nImageType, const int nRasterW, const int nRasterH)