Searched defs:lg (Results 1 - 8 of 8) sorted by relevance
/inkscape/src/widgets/ |
H A D | fill-style.cpp | 292 SPLinearGradient *lg = SP_LINEARGRADIENT(server); local 293 psel->setGradientProperties( lg->getUnits(), 294 lg->getSpread() );
|
/inkscape/src/extension/internal/ |
H A D | metafile-print.cpp | 341 SPLinearGradient *lg = (SPLinearGradient *) gr; local 343 gv.p1 = Geom::Point(lg->x1.computed, lg->y1.computed); // start 344 gv.p2 = Geom::Point(lg->x2.computed, lg->y2.computed); // end 346 if (lg->gradientTransform_set) { 347 gv.p1 = gv.p1 * lg->gradientTransform; 348 gv.p2 = gv.p2 * lg->gradientTransform;
|
H A D | wmf-print.cpp | 407 SPLinearGradient *lg = NULL; local 411 lg = SP_LINEARGRADIENT(paintserver); 412 SP_GRADIENT(lg)->ensureVector(); // when exporting from commandline, vector is not built 428 } else if (lg) { 430 return hold_gradient(lg, fill_mode); 432 hatchColor = avg_stop_color(lg);
|
H A D | cairo-render-context.cpp | 1217 SPLinearGradient *lg=SP_LINEARGRADIENT(paintserver); local 1219 SP_GRADIENT(lg)->ensureVector(); // when exporting from commandline, vector is not built 1221 Geom::Point p1 (lg->x1.computed, lg->y1.computed); 1222 Geom::Point p2 (lg->x2.computed, lg->y2.computed); 1223 if (pbox && SP_GRADIENT(lg)->getUnits() == SP_GRADIENT_UNITS_OBJECTBOUNDINGBOX) { 1234 for (gint i = 0; unsigned(i) < lg->vector.stops.size(); i++) { 1236 sp_color_get_rgb_floatv(&lg->vector.stops[i].color, rgb); 1237 cairo_pattern_add_color_stop_rgba(pattern, lg [all...] |
H A D | emf-print.cpp | 416 SPLinearGradient *lg = NULL; local 420 lg = SP_LINEARGRADIENT(paintserver); 421 SP_GRADIENT(lg)->ensureVector(); // when exporting from commandline, vector is not built 437 } else if (lg) { 439 return hold_gradient(lg, fill_mode); 441 hatchColor = avg_stop_color(lg); 619 SPLinearGradient *lg = SP_LINEARGRADIENT(paintserver); local 621 SP_GRADIENT(lg)->ensureVector(); // when exporting from commandline, vector is not built 623 Geom::Point p1(lg->x1.computed, lg [all...] |
/inkscape/src/ |
H A D | gradient-chemistry.cpp | 517 SPLinearGradient *lg = SP_LINEARGRADIENT(gr); local 519 Geom::Point p1_b = Geom::Point(lg->x1.computed, lg->y1.computed); 520 Geom::Point p2_b = Geom::Point(lg->x2.computed, lg->y2.computed); 1028 SPLinearGradient *lg = SP_LINEARGRADIENT(gradient); local 1032 lg->x2.computed += (lg->x1.computed - p[Geom::X]); 1033 lg->y2.computed += (lg 1288 SPLinearGradient *lg = SP_LINEARGRADIENT(gradient); local [all...] |
H A D | gradient-drag.cpp | 1934 * Add draggers for the linear gradient lg on item. 1936 void GrDrag::addDraggersLinear(SPLinearGradient *lg, SPItem *item, Inkscape::PaintTarget fill_or_stroke) argument 1938 lg->ensureVector(); 1940 guint num = lg->vector.stops.size(); 2555 SPLinearGradient *lg = SP_LINEARGRADIENT(stopinfo->gradient); local 2556 Geom::Point oldbegin = Geom::Point (lg->x1.computed, lg->y1.computed); 2557 Geom::Point end = Geom::Point (lg->x2.computed, lg->y2.computed); 2561 lg 2584 SPLinearGradient *lg = SP_LINEARGRADIENT(stopinfo->gradient); local [all...] |
/inkscape/src/ui/tools/ |
H A D | tweak-tool.cpp | 779 SPLinearGradient *lg = dynamic_cast<SPLinearGradient *>(gradient); local 780 if (lg) { 781 Geom::Point p1(lg->x1.computed, lg->y1.computed); 782 Geom::Point p2(lg->x2.computed, lg->y2.computed);
|
Completed in 1044 milliseconds