XamlEllipse.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 1996-2006 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00008 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00009 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00010 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00011 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 //
00013 //  Use, duplication, or disclosure by the U.S. Government is subject to
00014 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00015 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00016 //  Data and Computer Software), as applicable.
00017 //
00018 
00019 #if !defined XAML_ELLIPSE_HEADER
00020 #define XAML_ELLIPSE_HEADER
00021 
00025 
00026 #include "XAML/XamlCore.h"
00027 
00028 #include "whiptk/object.h"
00029 #include "whiptk/ellipse.h"
00030 #include "XAML/XamlXML.h"
00031 
00032 
00034 
00037 class XAMLTK_API WT_XAML_Filled_Ellipse : public WT_Filled_Ellipse
00038 {
00039         friend class WT_XAML_Class_Factory;
00040         friend class WT_XAML_File;
00041                 
00042 protected:
00043 
00045     WT_XAML_Filled_Ellipse()
00046                 :WT_Filled_Ellipse()
00047     { }
00048 
00050     WT_XAML_Filled_Ellipse (
00051         WT_Integer32            x,  
00052         WT_Integer32            y,  
00053         WT_Integer32            major, 
00054         WT_Integer32            minor, 
00055         WT_Unsigned_Integer16   start   = 0, 
00056         WT_Unsigned_Integer16   end     = 0, 
00057         WT_Unsigned_Integer16   tilt    = 0 
00058         )
00059         : WT_Filled_Ellipse (x, y, major, minor, start, end, tilt)
00060     { }
00061 
00063     WT_XAML_Filled_Ellipse(
00064         WT_Logical_Point const &  pos,  
00065         WT_Integer32            major, 
00066         WT_Integer32            minor, 
00067         WT_Unsigned_Integer16   start   = 0, 
00068         WT_Unsigned_Integer16   end     = 0, 
00069         WT_Unsigned_Integer16   tilt    = 0 
00070         )
00071         : WT_Filled_Ellipse (pos, major, minor, start, end, tilt)
00072     { }
00073 
00074         WT_XAML_Filled_Ellipse(const WT_Filled_Ellipse& ellipse)
00075                 : WT_Filled_Ellipse(ellipse)
00076         {}
00077 
00078         virtual ~WT_XAML_Filled_Ellipse()
00079         {}
00080 public:
00081 
00083     WT_Result        serialize(WT_File & file) const;
00085         WT_Result                parseAttributeList(XamlXML::tAttributeMap& rMap, WT_XAML_File& rFile);
00086     
00087 };
00088 
00090 
00093 class XAMLTK_API WT_XAML_Outline_Ellipse : public WT_Outline_Ellipse
00094 {
00095         friend class WT_XAML_Class_Factory;
00096         friend class WT_XAML_File;
00097         
00098 protected:
00099 
00101     WT_XAML_Outline_Ellipse ()
00102                 :WT_Outline_Ellipse()
00103     { }
00104 
00106     WT_XAML_Outline_Ellipse (
00107         WT_Integer32            x,  
00108         WT_Integer32            y,  
00109         WT_Integer32            major, 
00110         WT_Integer32            minor, 
00111         WT_Unsigned_Integer16   start   = 0, 
00112         WT_Unsigned_Integer16   end     = 0, 
00113         WT_Unsigned_Integer16   tilt    = 0 
00114         )
00115         : WT_Outline_Ellipse (x, y, major, minor, start, end, tilt)
00116     { }
00117 
00119     WT_XAML_Outline_Ellipse(
00120         WT_Logical_Point const &  pos,  
00121         WT_Integer32            major, 
00122         WT_Integer32            minor, 
00123         WT_Unsigned_Integer16   start   = 0, 
00124         WT_Unsigned_Integer16   end     = 0, 
00125         WT_Unsigned_Integer16   tilt    = 0 
00126         )
00127         : WT_Outline_Ellipse (pos, major, minor, start, end, tilt)
00128     { }
00129 
00130         WT_XAML_Outline_Ellipse(const WT_Outline_Ellipse& ellipse)
00131                 : WT_Outline_Ellipse(ellipse)
00132         {}
00133 
00134         virtual ~WT_XAML_Outline_Ellipse()
00135         {}
00136 
00137 public:
00138     virtual WT_Result   serialize(WT_File & file) const;
00140         WT_Result                parseAttributeList(XamlXML::tAttributeMap& rMap, WT_XAML_File& rFile);
00141 };
00142 
00143 #endif //XAML_ELLIPSE_HEADER

Generated on Tue Jan 6 22:40:05 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5