28 lines
793 B
C++
28 lines
793 B
C++
#pragma once
|
|
|
|
#include "Whiptk/whip_toolkit.h"
|
|
#include "myWT_File.h"
|
|
|
|
class CSLNKSymbolDefinition
|
|
{
|
|
public:
|
|
CSLNKSymbolDefinition(CComQIPtr<IEPlotSection> EPlotSection);
|
|
CSLNKSymbolDefinition(int count, WT_Logical_Point const *points) ;
|
|
CSLNKSymbolDefinition(CString const filepath, double const height);
|
|
~CSLNKSymbolDefinition(void);
|
|
|
|
CComQIPtr<IEPlotSection> m_iEPlotSection; // Om scope levend te houden
|
|
myWT_File m_wtFile; // Beetje redundant?
|
|
WT_Logical_Box m_BoundingBox;
|
|
WT_Polygon m_BoundingContour;
|
|
WT_Logical_Point m_Origin;
|
|
double m_dwgScale;
|
|
WT_Drawable *asBitmap(int pixeldx, int pixeldy, long paperColor);
|
|
WT_Result serialize(WT_File & file);
|
|
|
|
private:
|
|
bool m_BuiltIn;
|
|
WT_Result calculateBoundary();
|
|
WT_PNG_Group4_Image *m_AsBitmap;
|
|
};
|