Searched refs:xform (Results 1 - 25 of 27) sorted by relevance

12

/inkscape/src/
H A Dsp-rect.h50 void compensateRxRy(Geom::Affine xform);
61 virtual Geom::Affine set_transform(Geom::Affine const& xform);
74 static double vectorStretch(Geom::Point p0, Geom::Point p1, Geom::Affine xform);
H A Dsp-spiral.cpp426 Geom::Affine SPSpiral::set_transform(Geom::Affine const &xform) argument
429 if (!xform.withoutTranslation().isUniformScale()) {
430 return xform;
435 return xform;
439 Geom::Point pos( Geom::Point(this->cx, this->cy) * xform );
443 Geom::Affine ret(Geom::Affine(xform).withoutTranslation());
470 this->adjust_pattern(xform * ret.inverse());
473 this->adjust_gradient(xform * ret.inverse());
H A Dsp-rect.cpp274 Geom::Affine SPRect::set_transform(Geom::Affine const& xform) { argument
276 Geom::Point pos(Geom::Point(this->x.computed, this->y.computed) * xform);
280 Geom::Affine ret(Geom::Affine(xform).withoutTranslation());
323 this->adjust_pattern(xform * ret.inverse());
326 this->adjust_gradient(xform * ret.inverse());
337 gdouble SPRect::vectorStretch(Geom::Point p0, Geom::Point p1, Geom::Affine xform) { argument
342 return (Geom::distance(p0 * xform, p1 * xform) / Geom::distance(p0, p1));
400 void SPRect::compensateRxRy(Geom::Affine xform) { argument
416 gdouble eX = SPRect::vectorStretch(cx, c, xform);
[all...]
H A Dsp-ellipse.h63 virtual Geom::Affine set_transform(Geom::Affine const &xform);
H A Dsp-star.h59 virtual Geom::Affine set_transform(Geom::Affine const& xform);
H A Dsp-star.cpp507 Geom::Affine SPStar::set_transform(Geom::Affine const &xform) argument
511 if (!xform.withoutTranslation().isUniformScale()) {
512 return xform;
517 return xform;
521 Geom::Point pos( this->center * xform );
525 Geom::Affine ret(opt_trans ? xform.withoutTranslation() : xform);
552 this->adjust_pattern(xform * ret.inverse());
555 this->adjust_gradient(xform * ret.inverse());
H A Dsp-spiral.h56 virtual Geom::Affine set_transform(Geom::Affine const& xform);
H A Dsp-flowtext.cpp671 Geom::Affine SPFlowtext::set_transform (Geom::Affine const &xform) argument
673 if ((this->_optimizeScaledText && !xform.withoutTranslation().isNonzeroUniformScale())
674 || (!this->_optimizeScaledText && !xform.isNonzeroUniformScale())) {
676 return xform;
682 double const ex = xform.descrim();
684 return xform;
697 rect->set_i2d_affine(xform * rect->i2dt_affine());
702 Geom::Affine ret(xform);
715 this->adjust_pattern(xform * ret.inverse());
718 this->adjust_gradient(xform * re
[all...]
H A Dsp-ellipse.cpp468 Geom::Affine SPGenericEllipse::set_transform(Geom::Affine const &xform) argument
472 return xform;
476 Geom::Point pos(Geom::Point(this->cx.computed, this->cy.computed) * xform);
480 Geom::Affine ret(Geom::Affine(xform).withoutTranslation());
519 this->adjust_pattern(xform * ret.inverse());
522 this->adjust_gradient(xform * ret.inverse());
H A Dsp-flowtext.h71 virtual Geom::Affine set_transform(Geom::Affine const& xform);
H A Dsp-text.cpp405 Geom::Affine SPText::set_transform(Geom::Affine const &xform) { argument
409 return xform;
417 return xform;
422 // TODO: pjrm tried to use fontsize_expansion(xform) here and it works for text in that font size
428 double const ex = xform.descrim();
430 return xform;
433 Geom::Affine ret(Geom::Affine(xform).withoutTranslation());
440 this->_adjustCoordsRecursive (this, xform * ret.inverse(), ex);
449 this->adjust_pattern(xform * ret.inverse());
452 this->adjust_gradient(xform * re
[all...]
H A Dpersp3d.h92 void persp3d_apply_affine_transformation (Persp3D *persp, Geom::Affine const &xform);
H A Dsp-image.cpp677 Geom::Affine SPImage::set_transform(Geom::Affine const &xform) { argument
679 Geom::Point pos( Geom::Point(this->x.computed, this->y.computed) * xform );
683 Geom::Affine ret(Geom::Affine(xform).withoutTranslation());
H A Dpersp3d.cpp362 persp3d_apply_affine_transformation (Persp3D *persp, Geom::Affine const &xform) { argument
363 persp->perspective_impl->tmat *= xform;
H A Dbox3d.cpp270 Geom::Affine SPBox3D::set_transform(Geom::Affine const &xform) { argument
274 Geom::Affine ret(Geom::Affine(xform).withoutTranslation());
285 childitem->adjust_pattern(xform);
288 childitem->adjust_gradient(xform);
291 childitem->adjust_livepatheffect(xform);
/inkscape/src/display/
H A Dsp-canvas-util.cpp49 return item->xform;
H A Dsp-canvas-item.h63 Geom::Affine xform; member in struct:SPCanvasItem
H A Dcairo-utils.cpp579 Geom::Affine xform = a->unitCircleTransform() * trans; local
584 cm.xx = xform[0];
585 cm.xy = xform[2];
586 cm.x0 = xform[4];
587 cm.yx = xform[1];
588 cm.yy = xform[3];
589 cm.y0 = xform[5];
H A Dsp-canvas.cpp215 item->xform = Geom::Affine(Geom::identity());
306 SP_CTRLRECT(object)->update(item->xform, 0);
378 Geom::Affine child_affine = item->xform * affine;
426 item->xform = affine;
681 affine *= item->xform;
/inkscape/src/libuemf/
H A Duemf.c1774 U_XFORM xform; local
1775 xform.eM11 = eM11;
1776 xform.eM12 = eM12;
1777 xform.eM21 = eM21;
1778 xform.eM22 = eM22;
1779 xform.eDx = eDx;
1780 xform.eDy = eDy;
1781 return(xform);
1807 U_XFORM xform; local
1827 xform
2757 points_transform(PU_POINT points, int count, U_XFORM xform) argument
2780 point16_transform(PU_POINT16 points, int count, U_XFORM xform) argument
2803 trivertex_transform(PU_TRIVERTEX tv, int count, U_XFORM xform) argument
3826 U_EMRMODIFYWORLDTRANSFORM_set( const U_XFORM xform, const uint32_t iMode ) argument
[all...]
H A Duemf_print.h41 void xform_print(U_XFORM xform);
H A Duemf_print.c214 \param xform U_XFORM object
217 U_XFORM xform
219 printf("{%f,%f.%f,%f,%f,%f} ",xform.eM11,xform.eM12,xform.eM21,xform.eM22,xform.eDx,xform.eDy);
1326 printf(" xform:");
1327 xform_print(pEmr->xform);
[all...]
H A Duemf.h2419 U_XFORM xform; //!< Transform member in struct:__anon168
2429 U_XFORM xform; //!< Transform member in struct:__anon169
3441 PU_POINT points_transform(PU_POINT points, int count, U_XFORM xform);
3442 PU_POINT16 point16_transform(PU_POINT16 points, int count, U_XFORM xform);
3443 PU_TRIVERTEX trivertex_transform(PU_TRIVERTEX tv, int count, U_XFORM xform);
3511 char *U_EMRSETWORLDTRANSFORM_set(const U_XFORM xform);
3512 char *U_EMRMODIFYWORLDTRANSFORM_set(const U_XFORM xform, const uint32_t iMode);
H A Duemf_endian.c177 \param xform U_XFORM object
180 PU_XFORM xform
182 U_swap4(xform,6);
1046 xform_swap(&(pEmr->xform));
1054 xform_swap(&(pEmr->xform)); // xform
/inkscape/src/extension/internal/
H A Demf-inout.cpp2358 d->dc[d->level].worldTransform = pEmr->xform;
2378 // d->dc[d->level].worldTransform = pEmr->xform * worldTransform;
2380 float a11 = pEmr->xform.eM11;
2381 float a12 = pEmr->xform.eM12;
2383 float a21 = pEmr->xform.eM21;
2384 float a22 = pEmr->xform.eM22;
2386 float a31 = pEmr->xform.eDx;
2387 float a32 = pEmr->xform.eDy;
2421 // d->dc[d->level].worldTransform = worldTransform * pEmr->xform;
2433 float b11 = pEmr->xform
[all...]

Completed in 702 milliseconds

12