XamlPolyline.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 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 #if !defined WT_XAML_POLYLINE
00019 #define WT_XAML_POLYLINE
00020 
00024 
00025 #include "whiptk/polyline.h"
00026 #include "XAML/XamlPath.h"
00027 #include "XAML/XamlPointset.h"
00028 
00029 class WT_XAML_Polyline : public WT_Polyline, public WT_XAML_Point_Set_Data
00030 {
00031     friend class WT_XAML_Class_Factory;
00032     friend class XamlPath;
00033         friend class WT_XAML_File;
00034 
00035 protected:
00036     WT_XAML_Polyline(void) 
00037                 : WT_Polyline()
00038         {}
00039 
00040     virtual ~WT_XAML_Polyline(void) 
00041         {}
00042 
00044     WT_XAML_Polyline(
00045         int                         count, 
00046         WT_Logical_Point const *    points, 
00047         WT_Boolean                  copy 
00048         ) throw(WT_Result)
00049         : WT_Polyline(count, points, copy)
00050     { }
00051 
00053     WT_XAML_Polyline(const WT_XAML_Polyline & pline) throw(WT_Result)
00054         : WT_Polyline (pline)
00055     { }
00056 
00057     WT_XAML_Polyline(const WT_Polyline & pline) throw(WT_Result)
00058         : WT_Polyline (pline)
00059     { }
00060 
00061 public:
00062 
00064 
00067     WT_XAML_Polyline const & operator= (const WT_XAML_Polyline & pline) throw(WT_Result)
00068     {
00069                 WT_Polyline::operator = (pline);
00070         return *this;
00071     }
00072 
00073     virtual WT_Result   serialize(WT_File & file) const;
00074 };
00075 
00076 #endif //WT_XAML_POLYLINE

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