Commit 562c970d authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

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

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62343 954022d7-b5bf-4e40-9824-e11837661b57
parent e2ebfe40
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment