mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 06:22:44 +08:00
отрисовка без картиночного кэша
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62343 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
e2ebfe40ba
commit
562c970d8f
@ -958,10 +958,14 @@ HRESULT CGraphicsRenderer::DrawImage(IGrObject* pImage, const double& x, const d
|
||||
HRESULT CGraphicsRenderer::DrawImageFromFile(const std::wstring& bstrVal, const double& x, const double& y, const double& w, const double& h, const BYTE& lAlpha)
|
||||
{
|
||||
CCacheImage* pCacheImage = NULL;
|
||||
if (NULL != m_pCache)
|
||||
if (NULL != m_pCache)
|
||||
{
|
||||
pCacheImage = m_pCache->Lock(bstrVal);
|
||||
}
|
||||
else
|
||||
{
|
||||
pCacheImage = new CCacheImage(bstrVal);
|
||||
}
|
||||
|
||||
if (NULL != pCacheImage)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user