9. สร้างใหม่จากเก่า

The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

 
รหัสที่ 9-9  ตัวอย่างการใช้งานคลาส DWindow3D
    int d = 200;
    DWindow3D w3 = new DWindow3D(d, d, d);
    w3.drawRect(0, 0, d, d, d, d);
    w3.drawRect(0, 0, 0, 0, d, d);
    w3.drawRect(d, 0, d, d, d, 0);
©2009 S.Prasitjutrakul