ObjectARX, AutoCAD. C++



         

- 2


}

AcRxClass* AsdkPoly::isA() const

{

return AsdkPoly::desc();

}

AcRxClass* AsdkPoly::gpDesc = 0;

static AcRxObject * makeAsdkPoly()

{

return new AsdkPoly();

}

void AsdkPoly::rxInit()

{

if (AsdkPoly::gpDesc != 0)

return;

AsdkPoly::gpDesc = newAcRxClass("AsdkPoly",

"AsdkCurve", AcDb::kDHL_CURRENT, AcDb::kMReleaseCurrent,

0, &makeAsdkPoly, "POLYGON", "\"AutoCAD\"");

};

, (;) (}) . , .

rxInit () , ACRX_DEFINE_MEMBERS () , desc (), cast (), isA () , rxInit () . AcRxClass, rxInit () .