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

git-svn-id:...

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@54266 954022d7-b5bf-4e40-9824-e11837661b57
parent bc2235c0
......@@ -92,9 +92,10 @@ public:
}
RELEASEARRAYOBJECTS(m_aT);
m_aT = newT;
m_aT = newT;
}
m_nSize++;
return TRUE;
}
......
......@@ -64,10 +64,14 @@ typedef unsigned long ULONG, ARGB;
typedef long HRESULT;
#ifdef WIN32
#include "winerror.h"
#else
#ifndef S_OK
#define S_OK ((HRESULT)0x00000000L)
#define S_FALSE ((HRESULT)0x00000001L)
#endif
#endif
#define ADDREFINTERFACE(pinterface)\
{\
......
......@@ -209,6 +209,24 @@ public:
{
m_pRenderer->CalculateFullTransform();
}
public:
inline void PathCommandRect(double x, double y, double w, double h)
{
PathCommandMoveTo(x, y);
PathCommandLineTo(x + w, y);
PathCommandLineTo(x + w, y + h);
PathCommandLineTo(x, y + h);
PathCommandClose();
}
inline void Fill()
{
DrawPath(c_nWindingFillMode);
}
inline void Stroke()
{
DrawPath(1);
}
};
#endif // _BUILD_GRAPHICS_RENDERER_H_
\ No newline at end of file
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