Searched defs:xform (Results 1 - 14 of 14) sorted by relevance

/inkscape/src/display/
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];
/inkscape/src/
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-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-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-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 Dpersp3d.cpp362 persp3d_apply_affine_transformation (Persp3D *persp, Geom::Affine const &xform) { argument
363 persp->perspective_impl->tmat *= 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 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-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 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/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 Dupmf.c1037 \param xform U_XFORM to apply
1040 U_PMF_POINTF *pointfs_transform(U_PMF_POINTF *points, int count, U_XFORM xform){ argument
1049 newpts[i].X = U_ROUND(X * xform.eM11 + Y * xform.eM21 + xform.eDx);
1050 newpts[i].Y = U_ROUND(X * xform.eM12 + Y * xform.eM22 + xform.eDy);
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);

Completed in 110 milliseconds