Lines Matching refs:worldTransform
174 /* given the transformation matrix from worldTransform return the scale in the matrix part. Assumes that the
178 d->dc[d->level].worldTransform.eM11 * d->dc[d->level].worldTransform.eM22 -
179 d->dc[d->level].worldTransform.eM12 * d->dc[d->level].worldTransform.eM21;
185 /* given the transformation matrix from worldTransform and the current x,y position in inkscape coordinates,
194 cxform << d->dc[d->level].worldTransform.eM11/scale; cxform << ",";
195 cxform << d->dc[d->level].worldTransform.eM12/scale; cxform << ",";
196 cxform << d->dc[d->level].worldTransform.eM21/scale; cxform << ",";
197 cxform << d->dc[d->level].worldTransform.eM22/scale; cxform << ",";
200 double newx = x * d->dc[d->level].worldTransform.eM11/scale + y * d->dc[d->level].worldTransform.eM21/scale;
201 double newy = x * d->dc[d->level].worldTransform.eM12/scale + y * d->dc[d->level].worldTransform.eM22/scale;
212 /* given the transformation matrix from worldTransform return the rotation angle in radians.
215 return -std::atan2(d->dc[d->level].worldTransform.eM12, d->dc[d->level].worldTransform.eM11);
1020 double wpx = px * d->dc[d->level].worldTransform.eM11 + py * d->dc[d->level].worldTransform.eM21 + d->dc[d->level].worldTransform.eDx;
1030 double wpy = px * d->dc[d->level].worldTransform.eM12 + py * d->dc[d->level].worldTransform.eM22 + d->dc[d->level].worldTransform.eDy;
2358 d->dc[d->level].worldTransform = pEmr->xform;
2369 d->dc[d->level].worldTransform.eM11 = 1.0;
2370 d->dc[d->level].worldTransform.eM12 = 0.0;
2371 d->dc[d->level].worldTransform.eM21 = 0.0;
2372 d->dc[d->level].worldTransform.eM22 = 1.0;
2373 d->dc[d->level].worldTransform.eDx = 0.0;
2374 d->dc[d->level].worldTransform.eDy = 0.0;
2378 // d->dc[d->level].worldTransform = pEmr->xform * worldTransform;
2390 float b11 = d->dc[d->level].worldTransform.eM11;
2391 float b12 = d->dc[d->level].worldTransform.eM12;
2393 float b21 = d->dc[d->level].worldTransform.eM21;
2394 float b22 = d->dc[d->level].worldTransform.eM22;
2396 float b31 = d->dc[d->level].worldTransform.eDx;
2397 float b32 = d->dc[d->level].worldTransform.eDy;
2410 d->dc[d->level].worldTransform.eM11 = c11;;
2411 d->dc[d->level].worldTransform.eM12 = c12;;
2412 d->dc[d->level].worldTransform.eM21 = c21;;
2413 d->dc[d->level].worldTransform.eM22 = c22;;
2414 d->dc[d->level].worldTransform.eDx = c31;
2415 d->dc[d->level].worldTransform.eDy = c32;
2421 // d->dc[d->level].worldTransform = worldTransform * pEmr->xform;
2423 float a11 = d->dc[d->level].worldTransform.eM11;
2424 float a12 = d->dc[d->level].worldTransform.eM12;
2426 float a21 = d->dc[d->level].worldTransform.eM21;
2427 float a22 = d->dc[d->level].worldTransform.eM22;
2429 float a31 = d->dc[d->level].worldTransform.eDx;
2430 float a32 = d->dc[d->level].worldTransform.eDy;
2453 d->dc[d->level].worldTransform.eM11 = c11;;
2454 d->dc[d->level].worldTransform.eM12 = c12;;
2455 d->dc[d->level].worldTransform.eM21 = c21;;
2456 d->dc[d->level].worldTransform.eM22 = c22;;
2457 d->dc[d->level].worldTransform.eDx = c31;
2458 d->dc[d->level].worldTransform.eDy = c32;
2464 d->dc[d->level].worldTransform = pEmr->xform;