/inkscape/src/display/ |
H A D | nr-filter-offset.cpp | 13 #include "display/nr-filter-offset.h" 58 Geom::Point offset(x, y); 59 offset *= trans; 60 offset[X] -= trans[4]; 61 offset[Y] -= trans[5]; 63 cairo_set_source_surface(ct, in, offset[X], offset[Y]); 86 Geom::Point offset(dx, dy); 87 offset *= trans; 88 offset[ [all...] |
H A D | nr-filter-tile.cpp | 96 Geom::Point offset( col*tile_area.width(), row*tile_area.height() ); 97 offset *= trans; 98 offset[Geom::X] -= trans[4]; 99 offset[Geom::Y] -= trans[5]; 101 cairo_set_source_surface(ct, tile, offset[Geom::X], offset[Geom::Y]);
|
H A D | nr-filter-component-transfer.h | 48 double offset[4]; member in class:Inkscape::Filters::FilterComponentTransfer
|
/inkscape/src/ |
H A D | sp-gradient-vector.h | 16 double offset; member in struct:SPGradientStop
|
H A D | sp-tag-use-reference.cpp | 34 static void sp_usepath_href_changed(SPObject *old_ref, SPObject *ref, SPTagUsePath *offset); 35 static void sp_usepath_delete_self(SPObject *deleted, SPTagUsePath *offset); 115 sp_usepath_href_changed(SPObject */*old_ref*/, SPObject */*ref*/, SPTagUsePath *offset) argument 117 offset->quit_listening(); 118 SPItem *refobj = offset->getObject(); 120 offset->start_listening(refobj); 125 sp_usepath_delete_self(SPObject */*deleted*/, SPTagUsePath *offset) argument 127 offset->owner->deleteObject();
|
H A D | sp-use-reference.cpp | 32 static void sp_usepath_href_changed(SPObject *old_ref, SPObject *ref, SPUsePath *offset); 34 static void sp_usepath_delete_self(SPObject *deleted, SPUsePath *offset); 35 static void sp_usepath_source_modified(SPObject *iSource, guint flags, SPUsePath *offset); 119 sp_usepath_href_changed(SPObject */*old_ref*/, SPObject */*ref*/, SPUsePath *offset) argument 121 offset->quit_listening(); 122 SPItem *refobj = offset->getObject(); 124 offset->start_listening(refobj); 126 offset->sourceDirty=true; 127 offset->owner->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); 174 sp_usepath_delete_self(SPObject */*deleted*/, SPUsePath *offset) argument 191 sp_usepath_source_modified(SPObject * , guint , SPUsePath *offset) argument [all...] |
H A D | gc-finalized.h | 77 // finalized; instead we use an offset-from-base-address 114 /// invoke the destructor for an object given a base and offset pair 115 static void _invoke_dtor(void *base, void *offset); 117 /// turn 'this' pointer into an offset-from-base-address (stored as void *) 123 /// reconstitute 'this' given an offset-from-base-address in a void * 124 static Finalized *_unoffset(void *base, void *offset) { argument 127 reinterpret_cast<std::ptrdiff_t>(offset)
|
H A D | gc-finalized.cpp | 45 void Finalized::_invoke_dtor(void *base, void *offset) { argument 46 Finalized *object=_unoffset(base, offset);
|
H A D | sp-offset.cpp | 2 * Implementation of <path sodipodi:type="inkscape:offset">. 35 #include "sp-offset.h" 50 * The goal is to have a source shape (= originalPath), an offset (= radius) 51 * and compute the offset of the source by the radius. To get it to work, 56 * "linked" offset, as they've been dubbed, there is an additional 64 * offset is done in sp_offset_set_shape(), a function that is called whenever 65 * a change occurs to the offset (change of source or change of radius). 71 static void refresh_offset_source(SPOffset* offset); 73 static void sp_offset_start_listening(SPOffset *offset,SPObject* to); 74 static void sp_offset_quit_listening(SPOffset *offset); 777 sp_offset_distance_to_original(SPOffset * offset, Geom::Point px) argument 937 sp_offset_top_point(SPOffset const * offset, Geom::Point *px) argument 991 sp_offset_start_listening(SPOffset *offset,SPObject* to) argument 1005 sp_offset_quit_listening(SPOffset *offset) argument 1020 sp_offset_href_changed(SPObject * , SPObject * , SPOffset *offset) argument 1075 sp_offset_delete_self(SPObject * , SPOffset *offset) argument 1098 SPOffset *offset = SP_OFFSET(item); local 1107 refresh_offset_source(SPOffset* offset) argument 1203 sp_offset_get_source(SPOffset *offset) argument [all...] |
H A D | sp-offset.h | 27 * An offset is defined by curve and radius. The original curve is kept as 32 * The goal is to have a source shape (= originalPath), an offset (= radius) 33 * and compute the offset of the source by the radius. To get it to work, 38 * "linked" offset, as they've been dubbed, there is an additional 46 * offset is done in sp_offset_set_shape(), a function that is called whenever 47 * a change occurs to the offset (change of source or change of radius). 59 float rad; ///< offset radius 91 double sp_offset_distance_to_original (SPOffset * offset, Geom::Point px); 92 void sp_offset_top_point (SPOffset const *offset, Geom::Point *px); 94 SPItem *sp_offset_get_source (SPOffset *offset); [all...] |
H A D | gradient-chemistry.cpp | 610 // if this is valid but weird gradient without an offset-zero stop element, 613 if (stop->offset != 0) 638 SPStop *sp_vector_add_stop(SPGradient *vector, SPStop* prev_stop, SPStop* next_stop, gfloat offset) argument 641 g_message("sp_vector_add_stop(%p, %p, %p, %f)", vector, prev_stop, next_stop, offset); 649 newstop->offset = offset; 650 sp_repr_set_css_double( newstop->getRepr(), "offset", (double)offset); 653 guint32 cnew = average_color (c1, c2, (offset - prev_stop->offset) / (next_sto 928 double offset; local 1071 double offset = Geom::LineSegment(begin, end).nearestTime(p); local 1166 double offset = Geom::LineSegment(start, end).nearestTime(p); local 1183 double offset = Geom::LineSegment(start, end).nearestTime(p); local 1302 gdouble offset = lg->vector.stops.at(point_i).offset; local 1331 gdouble offset = rg->vector.stops.at(point_i).offset; local 1341 gdouble offset = rg->vector.stops.at(point_i).offset; local [all...] |
H A D | sp-stop.h | 30 float offset; member in class:SPStop
|
/inkscape/src/live_effects/ |
H A D | lpe-offset.cpp | 2 * LPE <offset> implementation 16 #include "live_effects/lpe-offset.h" 31 offset_pt(_("Offset"), _("Handle to control the distance of the offset from the curve"), "offset_pt", &wr, this) 45 Geom::Point offset = *(SP_SHAPE(lpeitem)->_curve->first_point()); local 46 offset_pt.param_update_default(offset); 47 offset_pt.param_setValue(offset,true); 69 double offset = L2(A - offset_pt); local 74 output = pwd2_in + n * offset; 75 append_half_circle(output, pwd2_in.lastValue(), n.lastValue() * offset); 76 output.continuousConcat(reverse(pwd2_in - n * offset)); [all...] |
/inkscape/src/libvpsc/ |
H A D | variable.h | 27 double offset; member in class:vpsc::Variable 37 , offset(0) 43 return block->posn+offset;
|
/inkscape/src/widgets/ |
H A D | dash-selector.h | 35 void set_dash(int ndash, double *dash, double offset); 36 void get_dash(int *ndash, double **dash, double *offset); 63 * Callback for offset adjustment changing 90 Glib::RefPtr<Gtk::Adjustment> offset; member in class:SPDashSelector 92 Gtk::Adjustment *offset; member in class:SPDashSelector
|
H A D | dash-selector.cpp | 66 offset = Gtk::Adjustment::create(0.0, 0.0, 10.0, 0.1, 1.0, 0.0); 68 offset = new Gtk::Adjustment(0.0, 0.0, 10.0, 0.1, 1.0, 0.0); 70 offset->signal_value_changed().connect(sigc::mem_fun(*this, &SPDashSelector::offset_value_changed)); 72 Inkscape::UI::Widget::SpinButton *sb = new Inkscape::UI::Widget::SpinButton(offset, 0.1, 2); 74 Inkscape::UI::Widget::SpinButton *sb = new Inkscape::UI::Widget::SpinButton(*offset, 0.1, 2); 76 sb->set_tooltip_text(_("Pattern offset")); 103 delete offset; 195 this->offset->set_value(o); 207 this->offset->set_value(o); // what does this do???? 227 *off = offset [all...] |
/inkscape/src/2geom/ |
H A D | circulator.h | 116 difference_type offset=( _pos - _first + n ); local 118 if ( offset < 0 ) { 120 offset += ( ( -offset / range ) + 1 ) * range; 121 } else if ( offset >= range ) { 122 offset %= range; 124 return _first + offset;
|
/inkscape/src/extension/internal/ |
H A D | bluredge.cpp | 83 double offset = (width / (float)(steps - 1) * (float)i) - (width / 2.0); local 95 if (offset < 0.0) { 97 offset *= -1.0; 98 prefs->setDoubleUnit("/options/defaultoffsetwidth/value", offset, "px"); 100 } else if (offset > 0.0) { 101 prefs->setDoubleUnit("/options/defaultoffsetwidth/value", offset, "px");
|
/inkscape/share/extensions/ |
H A D | nicechart.py | 175 self.OptionParser.add_option("-O", "--bar-offset", action="store", 182 self.OptionParser.add_option("-o", "--text-offset", action="store", 186 self.OptionParser.add_option("", "--heading-offset", action="store", 331 # offset of the description in stacked-bar-charts: 353 # iterate all values, use offset to draw the bars in different places 354 offset = 0 376 shadow.set('x', str(width/2 + offset + 1)) 381 shadow.set('y', str(width/2 + offset + 1)) 394 rect.set('x', str(width/2 + offset)) 399 rect.set('y', str(width/2 + offset)) [all...] |
H A D | triangle.py | 66 def v_add( (x1,y1),(x2,y2) ):#add an offset to coordinates 73 def draw_tri_from_3_sides(s_a, s_b, s_c, offset, width, parent): #draw a triangle from three sides (with a given offset 84 offset = ( offset[0]-offx , offset[1]-offy ) #add the centre of the triangle to the offset 86 draw_SVG_tri(a, b, c , offset, width, 'Triangle', parent) 125 offset = computePointInNode(list(self.view_center), self.current_layer) #the offset requir [all...] |
H A D | printing_marks.py | 253 offset = self.unittouu(str(self.options.crop_offset) + \ 260 if bt < offset : bmt = 0 261 else : bmt = bt - offset 262 if bb < offset : bmb = 0 263 else : bmb = bb - offset 264 if bl < offset : bml = 0 265 else : bml = bl - offset 266 if br < offset : bmr = 0 267 else : bmr = br - offset 270 offset_left = self.area_x1 - offset [all...] |
H A D | simplepath.py | 29 offset = 0 35 m = delim.match(d, offset) 37 offset = m.end() 38 if offset >= length: 40 m = command.match(d, offset) 42 yield [d[offset:m.end()], True] 43 offset = m.end() 45 m = parameter.match(d, offset) 47 yield [d[offset:m.end()], False] 48 offset [all...] |
/inkscape/src/2geom/numeric/ |
H A D | vector.h | 371 ConstVectorView(const base_type & _vector, size_t n, size_t offset = 0) 372 : m_vector_view( gsl_vector_const_subvector(_vector.get_gsl_vector(), offset, n) ) 378 ConstVectorView(const base_type & _vector, size_t n, size_t offset , size_t stride) 379 : m_vector_view( gsl_vector_const_subvector_with_stride(_vector.get_gsl_vector(), offset, stride, n) ) 385 ConstVectorView(const double* _vector, size_t n, size_t offset = 0) 386 : m_vector_view( gsl_vector_const_view_array(_vector + offset, n) ) 392 ConstVectorView(const double* _vector, size_t n, size_t offset, size_t stride) argument 393 : m_vector_view( gsl_vector_const_view_array_with_stride(_vector + offset, stride, n) ) 444 VectorView(base_type & _vector, size_t n, size_t offset = 0, size_t stride = 1) 450 = gsl_vector_subvector(_vector.get_gsl_vector(), offset, [all...] |
/inkscape/src/live_effects/parameter/ |
H A D | powerstrokepointarray.cpp | 83 double offset = dot(position - pwd2_in.valueAt(t), normal.valueAt(t)); local 84 _vector[i] = Geom::Point(t, offset); 165 double offset = dot(s - pwd2.valueAt(t), n.valueAt(t)); local 166 _pparam->_vector.at(_index) = Geom::Point(t, offset); 191 void PowerStrokePointArrayParamKnotHolderEntity::knot_set_offset(Geom::Point offset) argument 193 _pparam->_vector.at(_index) = Geom::Point(offset.x(), offset.y() / 2); 246 Geom::Point offset = Geom::Point(_pparam->_vector.at(_index).x(), _pparam->_vector.at(_index).y() * 2); local 247 Inkscape::UI::Dialogs::PowerstrokePropertiesDialog::showDialog(this->desktop, offset, this);
|
/inkscape/src/filters/ |
H A D | componenttransfer-funcnode.h | 38 double offset; member in class:SPFeFuncNode
|