отрисовка без картиночного кэша

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62343 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Oleg.Korshul
2015-04-28 15:26:11 +00:00
committed by Alexander Trofimov
parent e2ebfe40ba
commit 562c970d8f

View File

@ -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)
{