00001
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00033
00034 #ifndef GROOVX_VISX_MASKHATCH_H_UTC20050626084016_DEFINED
00035 #define GROOVX_VISX_MASKHATCH_H_UTC20050626084016_DEFINED
00036
00037 #include "gfx/gxshapekit.h"
00038
00040
00048
00049
00050 class MaskHatch : public GxShapeKit
00051 {
00052 protected:
00054 MaskHatch();
00055
00056 public:
00058 static MaskHatch* make();
00059
00061 virtual ~MaskHatch() throw();
00062
00063 virtual io::version_id class_version_id() const;
00064 virtual void read_from(io::reader& reader);
00065 virtual void write_to(io::writer& writer) const;
00066
00067 static const FieldMap& classFields();
00068
00070
00072
00073 private:
00075 int itsNumLines;
00076
00078 int itsLineWidth;
00079
00080
00081 void update();
00082
00083 protected:
00084 virtual void grGetBoundingBox(Gfx::Bbox& bbox) const;
00085
00086 virtual void grRender(Gfx::Canvas& canvas) const;
00087 };
00088
00089 static const char __attribute__((used)) vcid_groovx_visx_maskhatch_h_utc20050626084016[] = "$Id: maskhatch.h 10065 2007-04-12 05:54:56Z rjpeters $ $HeadURL: file:
00090 #endif // !GROOVX_VISX_MASKHATCH_H_UTC20050626084016_DEFINED