Example #1
0
Elise_Rect  Data_El_Geom_GWin::box() const
{
   Pt2di p1,p2;

   box_user_geom(p1,p2);
   return Elise_Rect(p1,p2);
}
Elise_Rect::Elise_Rect(Pt2di p0,Pt2di p1)
{
    INT t0[2],t1[2];
    p0.to_tab(t0);
    p1.to_tab(t1);

    *this = Elise_Rect(t0,t1,2);
}