Searched defs:lg (Results 1 - 8 of 8) sorted by relevance

/inkscape/src/widgets/
H A Dfill-style.cpp292 SPLinearGradient *lg = SP_LINEARGRADIENT(server); local
293 psel->setGradientProperties( lg->getUnits(),
294 lg->getSpread() );
/inkscape/src/extension/internal/
H A Dmetafile-print.cpp341 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 Dwmf-print.cpp407 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 Dcairo-render-context.cpp1217 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 Demf-print.cpp416 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 Dgradient-chemistry.cpp517 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 Dgradient-drag.cpp1934 * 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 Dtweak-tool.cpp779 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