You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB
C

1 month ago
//////////////////////////////////////////////////////////////////////////////
//<2F>ļ<EFBFBD> Frame.h
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
//
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2005-12-07
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include "insertdraw.h"
#include "rect8ex.h"
#define FRAME_BLACK_LINE 0x00000100 //<2F>߿<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>
class AFX_EXT_CLASS CFrame : public CInsertDraw
{
public:
CFrame(void);
virtual ~CFrame(void);
double thickness;
public:
void operator =(CFrame &frame);
void Serialize(CArchive& ar, const short &ver) override;
virtual int Read(CFile &fr, const short& ver);
virtual void Write(CFile &fw, const short& ver);
virtual BOOL IsInRange(CRect8& range);
virtual bool GetRange(CRect8 &range);
virtual void ScaleCoor(double xs, double ys, double dx, double dy);
virtual void ScaleProperty(double sx, double sy);
virtual void WriteDML(CFile& fw, const short& ver, int nBaseTabNum);
virtual int ReadDML(CFile &fr, const short &ver);
virtual void WritePCG(CFile& fw, const short& ver, int nBaseTabNum);
virtual int ReadPCG(CFile &fr, const short &ver);
BOOL IsBlackLine(void);
void EnableBlackLine(BOOL bEnable);
double GetFrameWidth(void);
public:
virtual int ReadPCG(void *pxp, const short &ver);
};