PathIterator.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_GEOM_PATHITERATOR_H
00002 #define JAVA_AWT_GEOM_PATHITERATOR_H 1
00003 
00004 #ifndef JAVA_LANG_OBJECT_H
00005 #include <java_lang/Object.h>
00006 #endif /* JAVA_LANG_OBJECT_H */
00007 #ifndef JAVA_AWT_SPEC
00008 #include <java_awt/Spec.h>
00009 #endif /* JAVA_AWT_SPEC */
00010 
00011 namespace java {
00012   namespace awt {
00013     namespace geom {
00014 
00048       class JAVA_AWT_SPEC PathIterator : virtual public Interface {
00049 
00050       public:
00051 
00052         enum WINDING_RULE {
00053 
00061           WIND_EVEN_ODD,
00062 
00072           WIND_NON_ZERO,
00073 
00074         };
00075 
00076         enum SEGMENT_TYPE {
00077 
00082           SEG_MOVETO,
00083 
00089           SEG_LINETO,
00090 
00111           SEG_QUADTO,
00112 
00135           SEG_CUBICTO,
00136 
00142           SEG_CLOSE,
00143 
00144         };
00145 
00153         virtual jint getWindingRule() const = 0;
00154 
00160         virtual jboolean isDone() const = 0;
00161 
00167         virtual void next() = 0;
00168 
00190         virtual jint currentSegment(Array<jfloat>& coords) const = 0;
00191 
00213         virtual jint currentSegment(Array<jdouble>& coords) const = 0;
00214 
00215       private:
00216 
00217         REGISTER_MEMBERS;
00218 
00219       };
00220 
00221     } // namespace geom
00222   } // namespace awt
00223 } // namespace java
00224 
00225 #endif /* JAVA_AWT_GEOM_PATHITERATOR_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3