#include "stdafx.h"
#include "4ObjRoundRect.h"		// This header.

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif

#define SUPER_CLASS MC4ObjRect

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC4ObjRoundRect::MC4ObjRoundRect
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.16 Fukushiro M. _xZkqqHx_jFmPjAjEiCmMiPiJiKpKiJlLiCpAjCmHiJmB_xHqqkZx_.Tool_xZkqqHx_iCmFjAlGjAkMiClDiCoKiClNiOjOiCmMiInH_xHqqkZx_.
 *************************************************************************/
MC4ObjRoundRect::MC4ObjRoundRect ()
{
	// memcmp_xZkqqHx_iCmFiDeJiDhFiDfHiDeGiDeOiDgHjEoEiKhCiCpAiClHiCoJiClNiCnPiBeBiNfMjBkCjBmMiDeNiDiDiDgCiDhGiCoAjBfDiCmEiCePiCmFjGiEiCnPiCoJiBeC_xHqqkZx_
	ASSERT(ALIGNMENT8(sizeof(SUPER_CLASS)) == offsetof(MC4ObjRoundRect, m_nRoundType));
	memset(&m_nRoundType, 0, sizeof(MC4ObjRoundRect) - offsetof(MC4ObjRoundRect, m_nRoundType));

	m_nRoundType	= FDOR_SAME_SIZE;
	m_mmRoundX		= 2.0;
	m_mmRoundY		= 2.0;
} // MC4ObjRoundRect::MC4ObjRoundRect.

//----- 05.06.17 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC4ObjRoundRect::IsKindOf
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCkKiClBiCmMiMfOiBeBiIlNiCkCiCmNiClBiCmMiMfOiCmMiDfEiDhFiDeOiDiJiDfIiCmMiMfOiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nType	: _xZkqqHx_jClCiCnHiCoJiMfOiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	TRUE	: nType_xZkqqHx_iMfOiBeBiIlNiCkCiCmNiClLiCmMiDfEiDhFiDeOiDiJiDfIiCmMiPoKiNiH_xHqqkZx_
// *			FALSE	: _xZkqqHx_iClLiCkEiCmFiCmIiCkCiPoKiNiH_xHqqkZx_
// *************************************************************************/
//BOOL MC4ObjRoundRect::IsKindOf (FTObjectType nType) const
//{
//	if (nType == FDOJ_ROUND_RECT) return TRUE;
//	return SUPER_CLASS::IsKindOf(nType);
//} // MC4ObjRoundRect::IsKindOf.
//----- 05.06.17 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC4ObjRoundRect::Type
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iClBiCmMjFjEjFgJiCmMiMfOiCpAjFnEiClH_xHqqkZx_.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiMfO_xHqqkZx_
 *************************************************************************/
FTObjectType MC4ObjRoundRect::Type () const
{
	return FDOJ_ROUND_RECT;
} // MC4ObjRoundRect::Type.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC4ObjRoundRect::OutStream
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiPpDjBnEiCpAiDfIiDgHiDiKiBfLiDiAiCmJiPjBiCkLiPgPiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar	: _xZkqqHx_iPjBiCkLiPgPiClFjHhAiCmM_xHqqkZx_CArchive
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.03 Fukushiro M. CArchive_xZkqqHx_iCpA_xHqqkZx_CArchive_xZkqqHx_iCmJiPeDjAlDiBeC_xHqqkZx_
 *************************************************************************/
void MC4ObjRoundRect::OutStream (CArchive& ar)
{
	SUPER_CLASS::OutStream(ar);
	ar << m_nRoundType;		// _xZkqqHx_iDiKiDfEiDeDiDfJiOjOiCmMiKhAiCmMjFmPiMgAjFpLiOkOiCmMiDfOiDeDiDhGiBeC_xHqqkZx_
	ar << m_mmRoundX;		// _xZkqqHx_iKhAiCmMiCfDjFkKiCmMiCfAiJhOiCmMjElMiMgBiBgJiChHjFpLiMpMiBgKiBeC_xHqqkZx_
	ar << m_mmRoundY;		// _xZkqqHx_iKhAiCmMiCfDjFkKiCmMiCfAiJhOiCmMjElMiMgBiBgJiChIjFpLiMpMiBgKiBeC_xHqqkZx_
} // MC4ObjRoundRect::InStream.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC4ObjRoundRect::InStream
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiPpDjBnEiCpAiDfIiDgHiDiKiBfLiDiAiCkJiCoHjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar	: _xZkqqHx_jDmHiCnNiNjOiCnNjHhAiCmM_xHqqkZx_CArchive
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.03 Fukushiro M. CArchive_xZkqqHx_iCpA_xHqqkZx_CArchive_xZkqqHx_iCmJiPeDjAlDiBeC_xHqqkZx_
 *************************************************************************/
void MC4ObjRoundRect::InStream (CArchive& ar)
{
	SUPER_CLASS::InStream(ar);
	ar >> m_nRoundType;		// _xZkqqHx_iDiKiDfEiDeDiDfJiOjOiCmMiKhAiCmMjFmPiMgAjFpLiOkOiCmMiDfOiDeDiDhGiBeC_xHqqkZx_
	ar >> m_mmRoundX;		// _xZkqqHx_iKhAiCmMiCfDjFkKiCmMiCfAiJhOiCmMjElMiMgBiBgJiChHjFpLiMpMiBgKiBeC_xHqqkZx_
	ar >> m_mmRoundY;		// _xZkqqHx_iKhAiCmMiCfDjFkKiCmMiCfAiJhOiCmMjElMiMgBiBgJiChIjFpLiMpMiBgKiBeC_xHqqkZx_
} // MC4ObjRoundRect::InStream.

