Searched defs:val (Results 1 - 25 of 127) sorted by relevance

123456

/inkscape/src/xml/
H A Dquote.cpp15 size_t xml_quoted_strlen(char const *val) argument
17 if (!val) return 0;
20 for (char const *valp = val; *valp; ++valp) {
/inkscape/src/display/
H A Dnr-filter-utils.h29 inline int clamp(int const val) { argument
30 if (val < 0) return 0;
31 if (val > 255) return 255;
32 return val;
41 inline int clamp3(int const val) { argument
42 if (val < 0) return 0;
43 if (val > 16581375) return 16581375;
44 return val;
56 * \return 0 if val is negative, alpha if val i
60 clamp_alpha(int const val, int const alpha) argument
[all...]
/inkscape/src/svg/
H A Dtest-stubs.cpp24 prefs_set_int_attribute(gchar const *path, gchar const *attr, long long int val) argument
26 int_prefs[std::string(path) + '/' + std::string(attr)] = val;
H A Dsvg-angle.cpp30 static bool sp_svg_angle_read_lff(gchar const *str, SVGAngle::Unit &unit, float &val, float &computed);
76 static bool sp_svg_angle_read_lff(gchar const *str, SVGAngle::Unit &unit, float &val, float &computed) argument
91 val = v;
100 val = v;
107 val = v;
111 val = v;
115 val = v;
119 val = v;
H A Dsvg-color-test.h63 gchar const* val[] = {"#f0f", "#ff00ff", "rgb(255,0,255)", "fuchsia"}; local
64 size_t const n = sizeof(val)/sizeof(*val);
67 guint32 result = sp_svg_read_color( val[i], &end, 0x3 );
69 TS_ASSERT_LESS_THAN( val[i], end );
H A Dsvg-length.cpp23 static unsigned sp_svg_length_read_lff(gchar const *str, SVGLength::Unit *unit, float *val, float *computed, char **next);
29 unsigned int sp_svg_number_read_f(gchar const *str, float *val) argument
41 *val = v;
45 unsigned int sp_svg_number_read_d(gchar const *str, double *val) argument
57 *val = v;
63 static unsigned int sp_svg_number_write_ui(gchar *buf, unsigned int val) argument
68 c[16u - (++i)] = '0' + (val % 10u);
69 val /= 10u;
70 } while (val > 0u);
80 static unsigned int sp_svg_number_write_i(gchar *buf, int bufLen, int val) argument
98 sp_svg_number_write_d(gchar *buf, int bufLen, double val, unsigned int tprec, unsigned int fprec) argument
149 sp_svg_number_write_de(gchar *buf, int bufLen, double val, unsigned int tprec, int min_exp) argument
[all...]
H A Dsvg-length-test.h17 char const* str; double val; int prec; int minexp; member in struct:SvgLengthTest::testd_t
106 gchar const* val = sp_svg_length_get_css_units(target); local
107 TSM_ASSERT_DIFFERS(i, val, "");
119 gchar const* val = sp_svg_length_get_css_units(target); local
120 TSM_ASSERT(i, validStrings.find(std::string(val)) != validStrings.end());
132 gchar const* val = sp_svg_length_get_css_units(target); local
133 std::set<std::string>::iterator iter = validStrings.find(std::string(val));
151 unsigned int retval = sp_svg_number_write_de( buf, sizeof(buf), precTests[i].val, precTests[i].prec, precTests[i].minexp );
/inkscape/src/debug/
H A Dgdk-event-latency-tracker.cpp56 double val = 0.0; local
58 val = (last_seconds - start_seconds) / last_elapsed;
60 return val;
/inkscape/src/io/
H A Dbase64stream.h97 virtual void setColumnWidth(int val) argument
98 { columnWidth = val; }
/inkscape/src/
H A Dpreferences-test.h22 virtual void notify(Inkscape::Preferences::Entry const &val) argument
24 value = val.getInt();
117 Inkscape::Preferences::Entry val = prefs->getEntry("/test/prefentry"); local
118 TS_ASSERT(val.isValid());
119 TS_ASSERT_EQUALS(val.getPath(), "/test/prefentry");
120 TS_ASSERT_EQUALS(val.getEntryName(), "prefentry");
121 TS_ASSERT_EQUALS(val.getInt(), 100);
H A Dunicoderange.cpp23 gchar* val = (gchar*) value;
24 while(val[0] != '\0'){
25 if (val[0]=='U' && val[1]=='+'){
26 val += add_range(val+2);
28 this->unichars.push_back(g_utf8_get_char(&val[0]));
29 val++;
32 while(val[0]==' ' || val[
36 add_range(gchar* val) argument
75 unsigned char val = unival & 0xf; local
[all...]
H A Dselcue.cpp35 void Inkscape::SelCue::BoundingBoxPrefsObserver::notify(Preferences::Entry const &val) argument
37 _sel_cue._boundingBoxPrefsChanged(static_cast<int>(val.getBool()));
H A Dsnap-preferences.h56 void setGridTolerance(double val) {_grid_tolerance = val;} argument
57 void setGuideTolerance(double val) {_guide_tolerance = val;} argument
58 void setObjectTolerance(double val) {_object_tolerance = val;} argument
/inkscape/src/ui/widget/
H A Dfilter-effect-chooser.cpp69 void SimpleFilterModifier::set_blend_mode(const int val) argument
71 _blend.set_active(val);
79 void SimpleFilterModifier::set_blur_value(const double val) argument
81 _blur.set_value(val);
H A Dcombo-enums.h106 const gchar* val = attribute_value(o); local
107 if(val)
108 set_active_by_id(_converter.get_id_from_key(val));
/inkscape/src/libcroco/
H A Dcr-num.h93 gdouble val ; member in struct:_CRNum
/inkscape/src/libnrtype/
H A Dnr-type-primitives.cpp25 void *val; member in struct:NRTDEntry
99 nr_type_dict_insert (NRTypeDict *td, const gchar *key, void *val) argument
109 tde->val = val;
117 tde->val = val;
133 if (!strcmp (key, tde->key)) return tde->val;
/inkscape/src/live_effects/parameter/
H A Dunit.cpp58 UnitParam::param_set_value(Inkscape::Util::Unit const &val) argument
60 unit = new Inkscape::Util::Unit(val);
H A Denum.h79 void param_set_value(E val) { argument
80 value = val;
/inkscape/src/widgets/
H A Dsp-attribute-widget.cpp191 const gchar *val = object->getRepr()->attribute(attributes[i].c_str()); local
192 ee->set_text (val ? val : (const gchar *) "");
238 const gchar *val = _object->getRepr()->attribute(_attributes[i].c_str()); local
239 _entries[i]->set_text(val ? val : "");
252 const gchar *val = _object->getRepr()->attribute(_attributes[i].c_str()); local
253 _entries[i]->set_text(val ? val : "");
269 const gchar *val local
[all...]
/inkscape/src/libuemf/
H A Duemf_utf.c124 uint32_t val; local
133 val = *src; // because *src is wchar_t is not strictly an integer type, can cause warnings on next line
134 printf("%d %d %x\n",(int) srclen,val,val);
/inkscape/src/livarot/
H A Dfloat-line.h40 float val; ///< amount of coverage (ie vst if start==true, and ven if start==false) member in struct:float_ligne_bord
H A Dint-line.h25 float val; member in struct:int_ligne_bord
/inkscape/src/trace/
H A Dimagemap.cpp12 static void gSetPixel(GrayMap *me, int x, int y, unsigned long val) argument
14 if (val>765)
15 val = 765;
17 *pix = val;
/inkscape/src/util/
H A Dfixed_point.h37 FixedPoint& operator+=(FixedPoint val) { v += val.v; return *this; } argument
38 FixedPoint& operator-=(FixedPoint val) { v -= val.v; return *this; } argument
39 FixedPoint& operator*=(FixedPoint val) { argument
41 const T al = v&((1<<half_size)-1), bl = val.v&((1<<half_size)-1);
42 const T ah = v>>half_size, bh = val.v>>half_size;
53 FixedPoint& operator*=(char val) { v *= val; return *this; } argument
54 FixedPoint& operator*=(unsigned char val) { argument
55 operator *=(short val) argument
56 operator *=(unsigned short val) argument
57 operator *=(int val) argument
58 operator *=(unsigned int val) argument
[all...]

Completed in 2160 milliseconds

123456