Searched refs:stroke_dasharray (Results 1 - 16 of 16) sorted by relevance

/inkscape/src/widgets/
H A Ddash-selector.cpp127 if (!style.stroke_dasharray.values.empty()) {
128 dashes[pos] = g_new (double, style.stroke_dasharray.values.size() + 1);
131 for (; i < style.stroke_dasharray.values.size(); i++) {
132 d[i] = style.stroke_dasharray.values[i];
H A Dstroke-style.cpp771 if (!style->stroke_dasharray.values.empty()) {
773 size_t len = MIN(style->stroke_dasharray.values.size(), 64);
776 d[i] = style->stroke_dasharray.values[i] / style->stroke_width.computed;
778 d[i] = style->stroke_dasharray.values[i]; // is there a better thing to do for stroke_width==0?
/inkscape/src/extension/internal/
H A Dlatex-pstricks.cpp241 if (style->stroke_dasharray.set && !style->stroke_dasharray.values.empty()) {
243 for (unsigned i = 0; i < style->stroke_dasharray.values.size(); i++) {
247 os << style->stroke_dasharray.values[i];
H A Demf-inout.cpp972 if (d->dc[d->level].style.stroke_dasharray.set &&
973 !d->dc[d->level].style.stroke_dasharray.values.empty() )
976 for (unsigned i=0; i<d->dc[d->level].style.stroke_dasharray.values.size(); i++) {
979 tmp_style << d->dc[d->level].style.stroke_dasharray.values[i];
1090 if (!d->dc[d->level].style.stroke_dasharray.values.empty() && (d->level==0 || (d->level>0 && d->dc[d->level].style.stroke_dasharray.values!=d->dc[d->level-1].style.stroke_dasharray.values)))
1091 d->dc[d->level].style.stroke_dasharray.values.clear();
1093 d->dc[d->level].style.stroke_dasharray.values.push_back( 3 );
1094 d->dc[d->level].style.stroke_dasharray
[all...]
H A Djavafx-out.cpp420 * SPIDashArray stroke_dasharray;
436 if (style->stroke_dasharray.set) {
441 for(unsigned i = 0; i < style->stroke_dasharray.values.size(); i++ ) {
443 out(", %.2lf", style->stroke_dasharray.values[i]);
445 out(" %.2lf", style->stroke_dasharray.values[i]);
H A Dwmf-inout.cpp880 if (d->dc[d->level].style.stroke_dasharray.set &&
881 !d->dc[d->level].style.stroke_dasharray.values.empty())
884 for (unsigned i=0; i<d->dc[d->level].style.stroke_dasharray.values.size(); i++) {
887 tmp_style << d->dc[d->level].style.stroke_dasharray.values[i];
980 if (!d->dc[d->level].style.stroke_dasharray.values.empty() && (d->level==0 || (d->level>0 && d->dc[d->level].style.stroke_dasharray.values!=d->dc[d->level-1].style.stroke_dasharray.values)))
981 d->dc[d->level].style.stroke_dasharray.values.clear();
983 d->dc[d->level].style.stroke_dasharray.values.push_back( 3 );
984 d->dc[d->level].style.stroke_dasharray
[all...]
H A Demf-print.cpp694 if (!style->stroke_dasharray.values.empty()) {
700 while ((linestyle != U_PS_USERSTYLE) && (i < style->stroke_dasharray.values.size())) {
701 if (style->stroke_dasharray.values[i] > 0.00000001) {
708 n_dash = style->stroke_dasharray.values.size();
711 dash[i] = MAX(1, (uint32_t) round(scale * style->stroke_dasharray.values[i] * PX2WORLD));
1408 (!style->stroke_dasharray.values.empty() && FixPPTDashLine) ||
1437 if (!style->stroke_dasharray.values.empty() && FixPPTDashLine) {
1443 int n_dash = style->stroke_dasharray.values.size();
1456 elength = slength + style->stroke_dasharray.values[i++];
1467 slength += style->stroke_dasharray
[all...]
H A Dwmf-print.cpp599 if (!style->stroke_dasharray.values.empty()) {
826 (!style->stroke_dasharray.values.empty() && FixPPTDashLine) ||
854 if (!style->stroke_dasharray.values.empty() && FixPPTDashLine) {
860 int n_dash = style->stroke_dasharray.values.size();
873 elength = slength + style->stroke_dasharray.values[i++];
884 slength += style->stroke_dasharray.values[i++]; // the gap
H A Dcairo-render-context.cpp1386 if (!style->stroke_dasharray.values.empty())
1388 size_t ndashes = style->stroke_dasharray.values.size();
1391 dashes[i] = style->stroke_dasharray.values[i];
/inkscape/src/display/
H A Dnr-style.cpp219 n_dash = style->stroke_dasharray.values.size();
224 dash[i] = style->stroke_dasharray.values[i];
/inkscape/src/
H A Dstyle.h236 SPIDashArray stroke_dasharray; member in class:SPStyle
H A Dstyle.cpp189 stroke_dasharray(), // SPIDashArray
357 _properties.push_back( &stroke_dasharray );
454 // _propmap.insert( std::make_pair( stroke_dasharray.name, reinterpret_cast<SPIBasePtr>(&SPStyle::stroke_dasharray ) ) );
966 stroke_dasharray.readIfUnset( val );
1677 if (style->stroke_dasharray.set) {
H A Dsp-item.cpp1286 if ( !style->stroke_dasharray.values.empty() ) {
1287 for (unsigned i = 0; i < style->stroke_dasharray.values.size(); i++) {
1288 style->stroke_dasharray.values[i] *= ex;
H A Dselection-chemistry.cpp2132 match = (sel_style->stroke_dasharray.set == iter_style->stroke_dasharray.set);
2133 if (sel_style->stroke_dasharray.set && iter_style->stroke_dasharray.set) {
2134 match = (sel_style->stroke_dasharray.values == iter_style->stroke_dasharray.values);
H A Dsplivarot.cpp1004 if (!i_style->stroke_dasharray.values.empty()) {
1272 if (!i_style->stroke_dasharray.values.empty()) {
/inkscape/src/livarot/
H A DPathCutting.cpp61 if (!style->stroke_dasharray.values.empty()) {
65 for (unsigned i = 0; i < style->stroke_dasharray.values.size(); i++) {
66 dlen += style->stroke_dasharray.values[i] * scale;
71 size_t n_dash = style->stroke_dasharray.values.size();
74 dash[i] = style->stroke_dasharray.values[i] * scale;

Completed in 98 milliseconds