#ifndef __4ObjFigure_h
#define __4ObjFigure_h

/**********************************************************
 *                 _xZkqqHx_iBhJiDgOiDjDiDeLiDiKiBfLiLeMjGeAiBhK_xHqqkZx_
 *      a          _xZkqqHx_jEhKjHpB_xHqqkZx_(Array)
 *      b          _xZkqqHx_jIfPjHjNiMfO_xHqqkZx_(Bool)
 *      by         unsigned char(BYte)
 *      c          char(Char)
 *      cb         _xZkqqHx_jFlGiOjKjAjE_xHqqkZx_(Count of Byte)
 *      cr         _xZkqqHx_jAeG_xHqqkZx_(Color Reference value)
 *      cx,cy      short_xZkqqHx_iMfO_xHqqkZx_[_xZkqqHx_iNmAjFfH_xHqqkZx_(x,y)_xZkqqHx_iCmMiDeKiDeFiDjDiDfO_xHqqkZx_](Count of X,Y)
 *      dw         unsigned long_xZkqqHx_iMfO_xHqqkZx_(Double Word)
 *      fn         _xZkqqHx_iKnGjAjE_xHqqkZx_(FuNction)
 *      h          _xZkqqHx_iDgOiDjDiDgIiDiL_xHqqkZx_(Handle)
 *      i          int(Integer)
 *      l          long(Long)
 *      m          _xZkqqHx_iDeOiDiJiDfIiDiBiDjDiDgP_xHqqkZx_(data Member of a class)
 *      n          short_xZkqqHx_iIlNiCkCiCmN_xHqqkZx_int
 *      p          _xZkqqHx_iDhMiDeDiDjDiDfOiMfO_xHqqkZx_(Pointer)
 *      s          _xZkqqHx_jFlGiOjKjHpB_xHqqkZx_(String)
 *      sz         0_xZkqqHx_iCmFiPeJiCoNiCoJjFlGiOjKjHpB_xHqqkZx_(String terminated with Zero)
 *      tm         _xZkqqHx_iDgFiDeMiDfIiDgHjAkBjGeA_xHqqkZx_(Text Metric)
 *      w          unsigned short(Word)
 *      x,y        short_xZkqqHx_iMfOiNmAjFfHjCgM_xHqqkZx_
 ********************************************************/

#include "4ObjBase.h"	// Super class.

class MC4RichText;

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	MC4ObjFigure
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMjHnGiKhDjApMiCmMjFgAiJoGiBeBjDgIiCoIiCmCiCnEiClFjDjJiCmMiLeAjEfMiCpAiOmAiMlLiClHiCoJiBeCjFfMiOkGiClDiCoKiCoJ_xHqqkZx_
 *			_xZkqqHx_iDeDiDiBiBfLiDfHiCpAiOjNiCmCjFjEjFgJiCmNiBeBiClBiCmMiDeOiDiJiDfIiCmMiDfEiDhFiDeOiDiJiDfIiCmFiDeDiDjDiDhGiDiKiDiBiDjDiDgH_xHqqkZx_
 *			_xZkqqHx_iClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.05.03 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
class MC4ObjFigure : public MC4ObjBase
{
public:
	//----- _xZkqqHx_jBfDiCmEiCmM_xHqqkZx_Subclass_xZkqqHx_iCkKiDeDiDjDiDhGiDiKiDiBiDjDiDgHiClFiCmIiCkPiCoKiCmOiCmIiCoHiCmIiCkC_xHqqkZx_ -----
	MC4ObjFigure ();
// 05.06.17 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	virtual BOOL	IsKindOf (FTObjectType nType) const;

	virtual void	OutStream (CArchive& ar);
	virtual void	InStream (CArchive& ar);

	virtual ~MC4ObjFigure ();
protected:
	//----- _xZkqqHx_iClLiCmMjBlMiKgFiOoNiCmMiDiBiDjDiDgPjFmPjAjE_xHqqkZx_ -----
	PenRegisterID	m_pridPenRegister;		// _xZkqqHx_iDhJiDjDiCmMjDgPjIfOjGlMiBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_
	SColorID		m_scidPenBackSColor;	// _xZkqqHx_iDhJiDjDiCmMjEhHiMgJjAeGiBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_
	fmmetol			m_mmfPenWeight;			// _xZkqqHx_iDhJiDjDiCmMjFjNiBeC_xHqqkZx_4Byte_xZkqqHx_iBeC_xHqqkZx_
	PenStyleID		m_psidPenStyle;			// _xZkqqHx_iDhJiDjDiCmMiDfIiDfOiDeDiDiLiBeCjClMjApM_xHqqkZx_,_xZkqqHx_jDfPjApM_xHqqkZx_,etc_xZkqqHx_iBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_

	SColorID		m_scidShadowSColor;		// _xZkqqHx_iJgFiCmMjAeGiBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_

	BrushRegisterID	m_bridBrushRegister;	// _xZkqqHx_iDhFiDiJiDfGiCmMjDgPjIfOjGlMiBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_
	SColorID		m_scidBrushForeSColor;	// _xZkqqHx_iDhFiDiJiDfGiCmMjBePiMgJjAeGiBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_
	SColorID		m_scidBrushBackSColor;	// _xZkqqHx_iDhFiDiJiDfGiCmMjEhHiMgJjAeGiBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_
	PatternID		m_ptidBrushPattern;		// _xZkqqHx_iDhFiDiJiDfGiCmMiDhAiDfOiBfLiDjDiBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_

	struct {
		BYTE		m_byEmfHorzMap;			// _xZkqqHx_iDiBiDfOiDhEiDeAiDeDiDiLiCmMjAiFjFlNjFpLiMpMiCmMiDhNiDgCiDhGjFpLjGeAiBeC_xHqqkZx_1Byte_xZkqqHx_iBeC_xHqqkZx_
		BYTE		m_byEmfVertMap;			// _xZkqqHx_iDiBiDfOiDhEiDeAiDeDiDiLiCmMjAiCjClMjFpLiMpMiCmMiDhNiDgCiDhGjFpLjGeAiBeC_xHqqkZx_1Byte_xZkqqHx_iBeC_xHqqkZx_
		EmfImageID	m_emidEmfImage;			// _xZkqqHx_iDiBiDfOiDhEiDeAiDeDiDiLiCmMjDgPjIfOjGlMiBeC_xHqqkZx_2Byte_xZkqqHx_iBeC_xHqqkZx_
	};
	union {
		WORD		m_wArrowFForStream;		// _xZkqqHx_iDfIiDgHiDiKiBfLiDiAjHhAiBeC_xHqqkZx_
		struct {
			WORD	m_byArrowFType		: 4;	// _xZkqqHx_iKeKiOgOjGoOiIpDiCmMiMfOiBeC_xHqqkZx_
			WORD	m_byArrowFParam0	: 4;	// _xZkqqHx_iKeKiOgOjGoOiIpDiCmMiDhAiDiJiDiBiBfLiDfOiCePiBeC_xHqqkZx_
			WORD	m_byArrowFParam1	: 4;	// _xZkqqHx_iKeKiOgOjGoOiIpDiCmMiDhAiDiJiDiBiBfLiDfOiCfAiBeC_xHqqkZx_
			WORD	m_byArrowFParam2	: 4;	// _xZkqqHx_iKeKiOgOjGoOiIpDiCmMiDhAiDiJiDiBiBfLiDfOiCfBiBeC_xHqqkZx_
		};
		struct {
			WORD	m_byDummyF			: 4;	// _xZkqqHx_iPeJjHlJjGoOiIpDiCmMiMfOiBeC_xHqqkZx_
			WORD	m_wPictArrowF		: 12;	// _xZkqqHx_iDhDiDeOiDgAiDiDjGoOiIpDiCmM_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
		};
	};
	union {
		WORD		m_wArrowBForStream;		// _xZkqqHx_iDfIiDgHiDiKiBfLiDiAjHhAiBeC_xHqqkZx_
		struct {
			WORD	m_byArrowBType		: 4;	// _xZkqqHx_iPeJjHlJjGoOiIpDiCmMiMfOiBeC_xHqqkZx_
			WORD	m_byArrowBParam0	: 4;	// _xZkqqHx_iPeJjHlJjGoOiIpDiCmMiDhAiDiJiDiBiBfLiDfOiCePiBeC_xHqqkZx_
			WORD	m_byArrowBParam1	: 4;	// _xZkqqHx_iPeJjHlJjGoOiIpDiCmMiDhAiDiJiDiBiBfLiDfOiCfAiBeC_xHqqkZx_
			WORD	m_byArrowBParam2	: 4;	// _xZkqqHx_iPeJjHlJjGoOiIpDiCmMiDhAiDiJiDiBiBfLiDfOiCfBiBeC_xHqqkZx_
		};
		struct {
			WORD	m_byDummyB			: 4;	// _xZkqqHx_iPeJjHlJjGoOiIpDiCmMiMfOiBeC_xHqqkZx_
			WORD	m_wPictArrowB		: 12;	// _xZkqqHx_iDhDiDeOiDgAiDiDjGoOiIpDiCmM_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
		};
	};
	union {
		WORD		m_wTextStream;			// _xZkqqHx_iDfIiDgHiDiKiBfLiDiAjHhAiBeC_xHqqkZx_
		struct {
			WORD	m_bIsResizeHorzByText	: 1;	// _xZkqqHx_jAiFjFlNjFpLiMpMiCmJiDgFiDeMiDfIiDgHjCmHiPfNiDiKiDfEiDeDiDfJiClHiCoJiCkJiBeI_xHqqkZx_
			WORD	m_bIsResizeVertByText	: 1;	// _xZkqqHx_jAiCjClMjFpLiMpMiCmJiDgFiDeMiDfIiDgHjCmHiPfNiDiKiDfEiDeDiDfJiClHiCoJiCkJiBeI_xHqqkZx_
			WORD	m_bIsShortenByText		: 1;	// _xZkqqHx_iDgFiDeMiDfIiDgHiPgLiPkMiOjOiCmJjCmHiPfNiDiKiDfEiDeDiDfJiClHiCoJiCkJiBeI_xHqqkZx_
			WORD	m_byDummyR				: 13;	// _xZkqqHx_iOgDiCoIiCmMiDfPiDhOiBfLiBeC_xHqqkZx_
		};
	};
	MC4RichText*	m_pRichText;
}; // class MC4ObjFigure.

#endif//__4ObjFigure_h
