Searched defs:src (Results 1 - 25 of 36) sorted by relevance

12

/inkscape/src/livarot/
H A Dsweep-tree.h22 Shape *src; /**< Shape from which the edge comes. (When doing boolean operation on polygons, member in class:SweepTree
/inkscape/src/xml/
H A Dquote.cpp40 char *xml_quote_strdup(char const *src) argument
42 size_t len = xml_quoted_strlen(src);
46 for (char const *srcp = src; *srcp; ++srcp) {
H A Drepr-css.cpp330 * Merges two SPCSSAttr's. Properties in src overwrite properties in dst if present in both.
332 void sp_repr_css_merge(SPCSSAttr *dst, SPCSSAttr *src) argument
335 g_assert(src != NULL);
337 dst->mergeFrom(src, "");
H A Dsimple-node.cpp651 void SimpleNode::mergeFrom(Node const *src, gchar const *key) { argument
652 g_return_if_fail(src != NULL);
654 g_assert(src != this);
656 setContent(src->content());
658 for ( Node const *child = src->firstChild() ; child != NULL ; child = child->next() )
677 for ( List<AttributeRecord const> iter = src->attributeList() ;
H A Drepr-io.cpp367 XmlSource src; local
369 if ( (src.setFile(filename) == 0) ) {
370 doc = src.readXml();
376 src.setFile(filename, true);
377 doc = src.readXml();
/inkscape/src/
H A Dsp-paint-server.h57 * Returns the first of {src, src-\>ref-\>getObject(),
58 * src-\>ref-\>getObject()-\>ref-\>getObject(),...}
64 * \pre SP_IS_GRADIENT(src).
67 PaintServer *chase_hrefs(PaintServer *src, sigc::slot<bool, PaintServer const *> match) { argument
71 PaintServer *p1 = src, *p2 = src;
H A Dstyle-test.h55 TestCase(gchar const* src, gchar const* dst = 0, gchar const* uri = 0) : src(src), dst(dst), uri(uri) {} argument
56 gchar const* src; member in struct:StyleTest::TestCase
243 for ( gint i = 0; cases[i].src; i++ ) {
246 style.mergeString( cases[i].src );
248 TSM_ASSERT( cases[i].src, style.fill.value.href );
262 // std::cout << " " << str0_set << " " << std::string(cases[i].src) << std::endl;
263 TS_ASSERT_EQUALS( str0_set, std::string(cases[i].src) );
272 TestCase(gchar const* src, gcha argument
274 gchar const* src; member in struct:StyleTest::TestCase
[all...]
H A Dsp-gradient.cpp708 * Returns the first of {src, src-\>ref-\>getObject(),
709 * src-\>ref-\>getObject()-\>ref-\>getObject(),...}
715 * \pre SP_IS_GRADIENT(src).
718 chase_hrefs(SPGradient *const src, bool (*match)(SPGradient const *)) argument
720 g_return_val_if_fail(SP_IS_GRADIENT(src), NULL);
725 SPGradient *p1 = src, *p2 = src;
777 SPGradient * src = chase_hrefs(this, has_stopsFN); local
780 src
792 SPGradient const *src = chase_hrefs(this, has_spread_set); local
805 SPGradient const *src = chase_hrefs(this, has_units_set); local
[all...]
H A Dsp-hatch.cpp249 SPHatch *src = chase_hrefs<SPHatch>(this, sigc::ptr_fun(&_hasHatchPatchChildren)); local
251 if (src) {
252 for (SPObject *child = src->firstChild(); child; child = child->getNext()) {
265 SPHatch const *src = chase_hrefs<SPHatch const>(this, sigc::ptr_fun(&_hasHatchPatchChildren)); local
267 if (src) {
268 for (SPObject const *child = src->firstChild(); child; child = child->getNext()) {
401 SPHatch *src = chase_hrefs<SPHatch>(this, sigc::ptr_fun(&_hasHatchPatchChildren)); local
402 return src ? src : this; // document is broken, we can't get to root; but at least we can return pat which is supposedly a valid hatch
H A Dverbs.cpp103 char const *src = action->name; local
104 gchar *ret = g_new(gchar, strlen(src) + 1);
108 int const c = src[si];
/inkscape/src/libavoid/
H A Dvertices.h54 static const unsigned short src; member in class:Avoid::VertID
109 bool directVis(VertInf *src, VertInf *dst);
H A Dvertices.cpp140 const unsigned short VertID::src = 1; member in class:Avoid::VertID
239 bool directVis(VertInf *src, VertInf *dst) argument
243 Point& p = src->point;
246 VertID& pID = src->id;
250 Router *router = src->_router;
486 searchID.vn = VertID::src;
H A Dmakepath.cpp387 // Returns the best path from src to tar using the cost function.
397 static void aStarPath(ConnRef *lineRef, VertInf *src, VertInf *tar, argument
413 start = src;
417 if (router->RubberBandRouting && (start != src))
480 Node = ANode(src, timestamp++);
644 (!router->RubberBandRouting || (start == src)) &&
751 VertInf *src = lineRef->src(); local
758 aStarPath(lineRef, src, tar, start);
762 EdgeInf *directEdge = EdgeInf::existingEdge(src, ta
[all...]
/inkscape/src/libuemf/
H A Dsymbol_convert.c975 void table_filler(unsigned int *src, int code){ argument
978 if(src[i] == 0xFFFD)continue; /* no mapping Unicode -> nonUnicode */
979 if(src[i] == i)continue; /* no remapping of spaces back to spaces, for instance */
980 from_unicode[src[i]] = i;
981 to_font[src[i]] = code;
H A Duemf_utf.c69 \param src string to examine
72 const char *src
74 if(!src){
80 while(*src){ printf("%d %d %x\n",(int) srclen,*src,*src); srclen++; src++; }
86 \param src string to examine
89 const uint16_t *src
91 if(!src){
180 wchar16strncpy( uint16_t *dst, const uint16_t *src, size_t nchars ) argument
200 wchar16strncpypad( uint16_t *dst, const uint16_t *src, size_t nchars ) argument
224 U_Utf32leToUtf16le( const uint32_t *src, size_t max, size_t *len ) argument
267 U_Utf16leToUtf32le( const uint16_t *src, size_t max, size_t *len ) argument
315 U_Latin1ToUtf32le( const char *src, size_t max, size_t *len ) argument
357 U_Utf8ToUtf32le( const char *src, size_t max, size_t *len ) argument
399 U_Utf32leToUtf8( const uint32_t *src, size_t max, size_t *len ) argument
441 U_Utf8ToUtf16le( const char *src, size_t max, size_t *len ) argument
483 U_Utf16leToUtf8( const uint16_t *src, size_t max, size_t *len ) argument
529 U_Utf16leToLatin1( const uint16_t *src, size_t max, size_t *len ) argument
576 U_Utf16le(const uint16_t src) argument
595 U_Utf8ToLatin1( const char *src, size_t max, size_t *len ) argument
639 U_Latin1ToUtf8( const char *src, size_t max, size_t *len ) argument
684 U_Utf16leEdit( uint16_t *src, uint16_t find, uint16_t replace ) argument
[all...]
/inkscape/src/2geom/
H A Dbezier-utils.cpp68 static unsigned copy_without_nans_or_adjacent_duplicates(Point const src[], unsigned src_len, Point dest[]);
149 * Copy points from src to dest, filter out points containing NaN and
154 copy_without_nans_or_adjacent_duplicates(Point const src[], unsigned src_len, Point dest[]) argument
161 if (!IS_NAN(src[si][X]) &&
162 !IS_NAN(src[si][Y])) {
163 dest[0] = Point(src[si]);
171 Point const src_pt = Point(src[si]);
/inkscape/src/display/
H A Dnr-filter-slot.cpp99 cairo_surface_t *src = getcairo(NR_FILTER_SOURCEGRAPHIC); local
100 cairo_surface_t *alpha = ink_cairo_extract_alpha(src);
105 cairo_surface_t *src = getcairo(NR_FILTER_BACKGROUNDIMAGE); local
106 cairo_surface_t *ba = ink_cairo_extract_alpha(src);
H A Dnr-filter-gaussian.cpp295 PT const *const src, int const sstr1, int const sstr2,
318 PT const * srcimg = src + c2*sstr2;
371 PT const *const src, int const sstr1, int const sstr2,
392 PT imin[PC]; copy_n(src + src_line, PC, imin);
402 copy_n(src + src_disp, PC, history[0]);
438 PT in_byte = src[nb_src_disp];
458 while(pos + scr_len < n1 && src[nb_src_disp] == last_in) {
472 gaussian_pass_IIR(Geom::Dim2 d, double deviation, cairo_surface_t *src, cairo_surface_t *dest, argument
492 int stride = cairo_image_surface_get_stride(src);
493 int w = cairo_image_surface_get_width(src);
294 filter2D_IIR(PT *const dest, int const dstr1, int const dstr2, PT const *const src, int const sstr1, int const sstr2, int const n1, int const n2, IIRValue const b[N+1], double const M[N*N], IIRValue *const tmpdata[], int const num_threads) argument
370 filter2D_FIR(PT *const dst, int const dstr1, int const dstr2, PT const *const src, int const sstr1, int const sstr2, int const n1, int const n2, FIRValue const *const kernel, int const scr_len, int const num_threads) argument
517 gaussian_pass_FIR(Geom::Dim2 d, double deviation, cairo_surface_t *src, cairo_surface_t *dest, int num_threads) argument
[all...]
/inkscape/src/extension/internal/bitmap/
H A Dimagemagick.cpp192 const char *src; local
194 for (src = "data:image/"; *src; )
195 *formatted_i++ = *src++;
196 for (src = effectedImage.magick().c_str(); *src ; )
197 *formatted_i++ = *src++;
198 for (src = ";base64, \n" ; *src; )
199 *formatted_i++ = *src
[all...]
/inkscape/src/libdepixelize/priv/
H A Dhomogeneoussplines.h121 const Points *src; member in struct:Tracer::HomogeneousSplines::CommonEdge
143 CommonEdge _common_edge(Points &dst, const Points &src);
156 * Add polygon represented by \p common_edge.src to \p common_edge.dst.
247 HomogeneousSplines<T>::_common_edge(Points &dst, const Points &src) argument
250 // first point, there is no need for check against all points of the src
256 const points_citer src_begin = src.begin();
257 const points_citer src_end = src.end();
327 ret.src = &src;
379 const Points &src local
[all...]
/inkscape/src/extension/internal/pdfinput/
H A Dpdf-input.cpp71 * FIXME: Probably this should be placed into src/ui/dialog
495 unsigned int *src; local
513 src = reinterpret_cast<unsigned int *>(cairo_data + y * cairo_rowstride);
517 dst[0] = (*src >> 16) & 0xff;
518 dst[1] = (*src >> 8) & 0xff;
519 dst[2] = (*src >> 0) & 0xff;
521 dst[3] = (*src >> 24) & 0xff;
523 src++;
/inkscape/src/libgdl/
H A Dgdl-dock-object.c762 gdl_dock_param_export_int (const GValue *src, argument
765 dst->data [0].v_pointer = g_strdup_printf ("%d", src->data [0].v_int);
769 gdl_dock_param_export_uint (const GValue *src, argument
772 dst->data [0].v_pointer = g_strdup_printf ("%u", src->data [0].v_uint);
776 gdl_dock_param_export_string (const GValue *src, argument
779 dst->data [0].v_pointer = g_strdup (src->data [0].v_pointer);
783 gdl_dock_param_export_bool (const GValue *src, argument
786 dst->data [0].v_pointer = g_strdup_printf ("%s", src->data [0].v_int ? "yes" : "no");
790 gdl_dock_param_export_placement (const GValue *src, argument
793 switch (src
819 gdl_dock_param_import_int(const GValue *src, GValue *dst) argument
826 gdl_dock_param_import_uint(const GValue *src, GValue *dst) argument
833 gdl_dock_param_import_string(const GValue *src, GValue *dst) argument
840 gdl_dock_param_import_bool(const GValue *src, GValue *dst) argument
847 gdl_dock_param_import_placement(const GValue *src, GValue *dst) argument
[all...]
/inkscape/src/live_effects/
H A Dspiro.cpp38 void spiro_run(const spiro_cp *src, int src_len, SPCurve &curve) argument
40 spiro_seg *s = Spiro::run_spiro(src, src_len);
46 void spiro_run(const spiro_cp *src, int src_len, Geom::Path &path) argument
48 spiro_seg *s = Spiro::run_spiro(src, src_len);
518 setup_path(const spiro_cp *src, int n) argument
520 int n_seg = src[0].ty == '{' ? n - 1 : n;
526 r[i].x = src[i].x;
527 r[i].y = src[i].y;
528 r[i].ty = src[i].ty;
534 r[n_seg].x = src[n_se
[all...]
/inkscape/src/ui/dialog/
H A Dtags.cpp811 SPTag *src = *iter; local
812 if (src != _dnd_target) {
813 src->moveTo(_dnd_target, _dnd_into);
819 SPTag *src = _dnd_source.back(); local
820 _select_tag(src);
/inkscape/src/widgets/
H A Dgradient-vector.cpp280 Glib::ustring gr_ellipsize_text(Glib::ustring const &src, size_t maxlen) argument
282 if (src.length() > maxlen && maxlen > 8) {
284 size_t p2 = (size_t) src.length() - (maxlen - p1 - 1);
285 return src.substr(0, p1) + "…" + src.substr(p2);
287 return src;

Completed in 79 milliseconds

12