Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

WhipExamples/OutlineEllipse.cpp

#include "whiptk/whip_toolkit.h"

extern WT_File whip_file; //Assume this has been opened for writing elsewhere.

WT_Result OutlineEllipse()
{
    int major = 110;
    int minor = 75;
    int x=0,y=0;

    //Create an outline ellipse
    WT_Outline_Ellipse ellipse (x, y, major, minor);
    //Serialize it.
    WD_CHECK(ellipse.serialize (whip_file));

    return WT_Result::Success;
}

Generated on Tue May 17 12:38:50 2005 for Autodesk DWF Toolkit by  doxygen 1.4.1