Lines Matching defs:SPHatch
34 SPHatch::SPHatch()
52 ref->changedSignal().connect(sigc::mem_fun(this, &SPHatch::_onRefChanged));
61 SPHatch::~SPHatch() {
64 void SPHatch::build(SPDocument* doc, Inkscape::XML::Node* repr)
82 void SPHatch::release()
109 void SPHatch::child_added(Inkscape::XML::Node* child, Inkscape::XML::Node* ref)
129 void SPHatch::set(unsigned int key, const gchar* value)
234 bool SPHatch::_hasHatchPatchChildren(SPHatch const *hatch)
246 std::vector<SPHatchPath*> SPHatch::hatchPaths()
249 SPHatch *src = chase_hrefs<SPHatch>(this, sigc::ptr_fun(&_hasHatchPatchChildren));
262 std::vector<SPHatchPath const*> SPHatch::hatchPaths() const
265 SPHatch const *src = chase_hrefs<SPHatch const>(this, sigc::ptr_fun(&_hasHatchPatchChildren));
281 void SPHatch::update(SPCtx* ctx, unsigned int flags)
283 typedef std::list<SPHatch::View>::iterator ViewIterator;
316 void SPHatch::modified(unsigned int flags)
339 void SPHatch::_onRefChanged(SPObject *old_ref, SPObject *ref)
341 typedef std::list<SPHatch::View>::iterator ViewIterator;
347 SPHatch *hatch = dynamic_cast<SPHatch *>(ref);
349 _modified_connection = ref->connectModified(sigc::mem_fun(this, &SPHatch::_onRefModified));
353 SPHatch *old_shown = NULL;
354 SPHatch *new_shown = NULL;
358 SPHatch *old_hatch = dynamic_cast<SPHatch *>(old_ref);
392 void SPHatch::_onRefModified(SPObject */*ref*/, guint /*flags*/)
399 SPHatch *SPHatch::rootHatch()
401 SPHatch *src = chase_hrefs<SPHatch>(this, sigc::ptr_fun(&_hasHatchPatchChildren));
408 SPHatch::HatchUnits SPHatch::hatchUnits() const
411 for (SPHatch const *pat_i = this; pat_i; pat_i = (pat_i->ref) ? pat_i->ref->getObject() : NULL) {
420 SPHatch::HatchUnits SPHatch::hatchContentUnits() const
423 for (SPHatch const *pat_i = this; pat_i; pat_i = (pat_i->ref) ? pat_i->ref->getObject() : NULL) {
432 Geom::Affine const &SPHatch::hatchTransform() const
434 for (SPHatch const *pat_i = this; pat_i; pat_i = (pat_i->ref) ? pat_i->ref->getObject() : NULL) {
442 gdouble SPHatch::x() const
445 for (SPHatch const *pat_i = this; pat_i; pat_i = (pat_i->ref) ? pat_i->ref->getObject() : NULL) {
454 gdouble SPHatch::y() const
457 for (SPHatch const *pat_i = this; pat_i; pat_i = (pat_i->ref) ? pat_i->ref->getObject() : NULL) {
466 gdouble SPHatch::pitch() const
469 for (SPHatch const *pat_i = this; pat_i; pat_i = (pat_i->ref) ? pat_i->ref->getObject() : NULL) {
478 gdouble SPHatch::rotate() const
481 for (SPHatch const *pat_i = this; pat_i; pat_i = (pat_i->ref) ? pat_i->ref->getObject() : NULL) {
490 bool SPHatch::isValid() const
508 Inkscape::DrawingPattern *SPHatch::show(Inkscape::Drawing &drawing, unsigned int key, Geom::OptRect bbox)
532 void SPHatch::hide(unsigned int key)
553 Geom::Interval SPHatch::bounds() const
569 SPHatch::RenderInfo SPHatch::calculateRenderInfo(unsigned key) const
581 void SPHatch::_updateView(View &view)
598 SPHatch::RenderInfo SPHatch::_calculateRenderInfo(View const &view) const
651 Geom::OptInterval SPHatch::_calculateStripExtents(Geom::OptRect const &bbox) const
683 cairo_pattern_t* SPHatch::pattern_new(cairo_t * /*base_ct*/, Geom::OptRect const &/*bbox*/, double /*opacity*/)
690 void SPHatch::setBBox(unsigned int key, Geom::OptRect const &bbox)
702 SPHatch::RenderInfo::RenderInfo()
712 SPHatch::RenderInfo::~RenderInfo()
718 SPHatch::View::View(Inkscape::DrawingPattern *arenaitem, int key)
725 SPHatch::View::~View()