mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
27 lines
454 B
C++
27 lines
454 B
C++
#ifndef GRAPHICUNIT_H
|
|
#define GRAPHICUNIT_H
|
|
|
|
#include "../Types/PenSettings.h"
|
|
#include "../Utils/Types.h"
|
|
|
|
namespace OFD
|
|
{
|
|
class CGraphicUnit
|
|
{
|
|
TBox m_oBoundary;
|
|
std::wstring m_wsName;
|
|
bool m_bVisible;
|
|
TMatrix m_oCTM;
|
|
unsigned int m_unDrawParam;
|
|
CPenSettings m_oPenSettings;
|
|
public:
|
|
CGraphicUnit(CXmlReader& oLiteReader);
|
|
|
|
void Apply(IRenderer* pRenderer, TMatrix& oOldTransform) const;
|
|
|
|
TBox GetBoundary() const;
|
|
};
|
|
}
|
|
|
|
#endif // GRAPHICUNIT_H
|