sp-hatch.h revision 6f195ddf891afcc5029baa42fe2007ea923776c0
/** @file
* SVG <hatch> implementation
*//*
* Author:
* Tomasz Boczkowski <penginsbacon@gmail.com>
*
* Copyright (C) 2014 Tomasz Boczkowski
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifndef SEEN_SP_HATCH_H
#define SEEN_SP_HATCH_H
#include <list>
#include <stddef.h>
#include <sigc++/connection.h>
#include "svg/svg-length.h"
#include "svg/svg-angle.h"
#include "sp-paint-server.h"
#include "uri-references.h"
}
}
enum HatchUnits {
};
SPHatch();
/* Reference (href) */
gdouble x() const;
gdouble y() const;
HatchUnits hatchUnits() const;
HatchUnits hatchContentUnits() const;
bool isValid() const;
struct View {
//Do not delete arenaitem in destructor.
unsigned int key;
};
/**
Gets called when the hatch is reattached to another <hatch>
*/
/**
Gets called when the referenced <hatch> is changed
*/
/* patternUnits and patternContentUnits attribute */
bool _hatchUnits_set : 1;
bool _hatchContentUnits_set : 1;
/* hatchTransform attribute */
bool _hatchTransform_set : 1;
/* Strip */
};
}
return SP_IS_HATCH (obj);
}
};
#endif // SEEN_SP_HATCH_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :