------------------------------------------------------------------------
| 1140 | |
| 1141 | //------------------------------------------------------------------------ |
| 1142 | void Agg2D::transformImage(const Image& img, int imgX1, int imgY1, int imgX2, int imgY2, |
| 1143 | double dstX1, double dstY1, double dstX2, double dstY2) |
| 1144 | { |
| 1145 | resetPath(); |
| 1146 | moveTo(dstX1, dstY1); |
| 1147 | lineTo(dstX2, dstY1); |
| 1148 | lineTo(dstX2, dstY2); |
| 1149 | lineTo(dstX1, dstY2); |
| 1150 | closePolygon(); |
| 1151 | double parallelogram[6] = { dstX1, dstY1, dstX2, dstY1, dstX2, dstY2 }; |
| 1152 | renderImage(img, imgX1, imgY1, imgX2, imgY2, parallelogram); |
| 1153 | } |
| 1154 | |
| 1155 | //------------------------------------------------------------------------ |
| 1156 | void Agg2D::transformImage(const Image& img, double dstX1, double dstY1, double dstX2, double dstY2) |
no test coverage detected