Курсовая работа: Анализ треугольника
if (IsIni())
{
intD d(this); // dvi ntt fr inting
SndMssg (WM_INRSBKGND, (WRM) d. GtSfHd(), 0);
// ntr in in lint rtngl
int In = GtSstmMtris (SM_IN);
int In = GtSstmMtris (SM_IN);
Rt rt;
GtlintRt(&rt);
int = (rt. Width() – In + 1) / 2;
int = (rt. Hight() – In + 1) / 2;
// Drw th in
d. DrwIn (, m_hIn);
}
ls
{
Dilg:nint();
}
}
// Th sstm lls this t btin th ursr t disl whil th usr drgs
// th minimizd windw.
HURSR TringlDlg:nQurDrgIn()
{
rturn (HURSR) m_hIn;
}
vid TringlDlg:nlult()
{
// TD: dd ur ntrl ntifitin hndlr d hr
UdtDt(tru);